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:48 +0100 |
commit | 1cc6544d69513fdf8fd6d53bc085e735fcd64573 (patch) | |
tree | 503201c0a6dacf681840027d55f210b2d35b3051 /documentation/ref-manual | |
parent | 19933e44743860ba32665774ae28a1eadf38b790 (diff) | |
download | poky-1cc6544d69513fdf8fd6d53bc085e735fcd64573.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: 0b7b3d36565da6745a13f5f6d17174e9d69c072e)
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')
-rw-r--r-- | documentation/ref-manual/ref-qa-checks.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-qa-checks.xml b/documentation/ref-manual/ref-qa-checks.xml index 43cb26db4c..54cd4336eb 100644 --- a/documentation/ref-manual/ref-qa-checks.xml +++ b/documentation/ref-manual/ref-qa-checks.xml | |||
@@ -467,6 +467,23 @@ can be found then it should be implemented. I can't find one at the moment. | |||
467 | </para> | 467 | </para> |
468 | 468 | ||
469 | <para> | 469 | <para> |
470 | Typically, the way to solve this performance issue is to | ||
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> | ||
479 | </para> | ||
480 | |||
481 | <para> | ||
482 | For more information on text relocations at runtime, see | ||
483 | <ulink url='http://www.akkadia.org/drepper/textrelocs.html'></ulink>. | ||
484 | </para> | ||
485 | |||
486 | <para> | ||
470 | | 487 | |
471 | </para> | 488 | </para> |
472 | </listitem> | 489 | </listitem> |