mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
19933e4474
commit
1cc6544d69
@@ -466,6 +466,23 @@ can be found then it should be implemented. I can't find one at the moment.
|
|||||||
at runtime.
|
at runtime.
|
||||||
</para>
|
</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>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|||||||
Reference in New Issue
Block a user