summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2015-04-20 16:27:53 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-24 11:07:48 +0100
commit1cc6544d69513fdf8fd6d53bc085e735fcd64573 (patch)
tree503201c0a6dacf681840027d55f210b2d35b3051 /documentation
parent19933e44743860ba32665774ae28a1eadf38b790 (diff)
downloadast2050-yocto-poky-1cc6544d69513fdf8fd6d53bc085e735fcd64573.zip
ast2050-yocto-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')
-rw-r--r--documentation/ref-manual/ref-qa-checks.xml17
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 43cb26d..54cd433 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.
</para>
<para>
+ Typically, the way to solve this performance issue is to
+ add "-fPIC" to the compiler command-line options.
+ For example, given software that reads
+ <link linkend='var-CFLAGS'><filename>CFLAGS</filename></link>
+ when you build it, you can add the following to your
+ recipe:
+ <literallayout class='monospaced'>
+ CFLAGS_append = " -fPIC "
+ </literallayout>
+ </para>
+
+ <para>
+ For more information on text relocations at runtime, see
+ <ulink url='http://www.akkadia.org/drepper/textrelocs.html'></ulink>.
+ </para>
+
+ <para>
&nbsp;
</para>
</listitem>
OpenPOWER on IntegriCloud