mirror of
https://git.yoctoproject.org/poky
synced 2026-07-17 04:07:06 +00:00
ref-manual: Updates to ELF binary QA warning
Fixes [YOCTO #7630] Apparently the text relocation being done here can cause runtime performance issues. I documented a potential work-around for the issue and provided a cross-reference link to an external site for more general information about text relocation at runtime. Reported-by: Laszlo Papp <lpapp@kde.org> (From yocto-docs rev: f7f611a6668b6cd2ee3928ad44c72dbbe5307c38) 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
0c7340105e
commit
4a90b6b0d9
@@ -467,8 +467,8 @@ 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.
|
||||
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
|
||||
@@ -476,9 +476,6 @@ can be found then it should be implemented. I can't find one at the moment.
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user