From 1cc6544d69513fdf8fd6d53bc085e735fcd64573 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 20 Apr 2015 16:27:53 -0700 Subject: 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 Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-qa-checks.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'documentation') 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 @@ -466,6 +466,23 @@ can be found then it should be implemented. I can't find one at the moment. at runtime. + + Typically, the way to solve this performance issue is to + add "-fPIC" to the compiler command-line options. + For example, given software that reads + CFLAGS + when you build it, you can add the following to your + recipe: + + CFLAGS_append = " -fPIC " + + + + + For more information on text relocations at runtime, see + . + +   -- cgit v1.2.3-54-g00ecf