diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2015-04-20 16:27:53 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-24 11:07:33 +0100 |
commit | 447a3519aff58559b1a1c2b6596f516126b50458 (patch) | |
tree | 9f3157e074a88ce2c463b3c4462053b9e6fa610d /documentation/ref-manual/ref-qa-checks.xml | |
parent | d4dc2f8c964230d330e518cce49603d5434d16a2 (diff) | |
download | poky-447a3519aff58559b1a1c2b6596f516126b50458.tar.gz |
ref-manual: Updates to ELF binary QA warning - review changes
Applied some review edits from Paul.
Fixes [YOCTO #7630]
(From yocto-docs rev: 064fa763686f5ddaccba4a7201757f2a6fc8636c)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/ref-qa-checks.xml')
-rw-r--r-- | documentation/ref-manual/ref-qa-checks.xml | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/documentation/ref-manual/ref-qa-checks.xml b/documentation/ref-manual/ref-qa-checks.xml index b4657e2ced..54cd4336eb 100644 --- a/documentation/ref-manual/ref-qa-checks.xml +++ b/documentation/ref-manual/ref-qa-checks.xml | |||
@@ -464,11 +464,18 @@ can be found then it should be implemented. I can't find one at the moment. | |||
464 | <filename>.text</filename> sections. | 464 | <filename>.text</filename> sections. |
465 | This situation can result in a performance impact | 465 | This situation can result in a performance impact |
466 | at runtime. | 466 | at runtime. |
467 | <note><title>Tip</title> | 467 | </para> |
468 | If you do experience runtime performance issues, | 468 | |
469 | you could try assigning "-fPIC/-fpic" to | 469 | <para> |
470 | <filename>gcc</filename>. | 470 | Typically, the way to solve this performance issue is to |
471 | </note> | 471 | add "-fPIC" to the compiler command-line options. |
472 | For example, given software that reads | ||
473 | <link linkend='var-CFLAGS'><filename>CFLAGS</filename></link> | ||
474 | when you build it, you can add the following to your | ||
475 | recipe: | ||
476 | <literallayout class='monospaced'> | ||
477 | CFLAGS_append = " -fPIC " | ||
478 | </literallayout> | ||
472 | </para> | 479 | </para> |
473 | 480 | ||
474 | <para> | 481 | <para> |