diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-02-15 09:47:33 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-16 09:03:28 +0000 |
commit | 1fcb1b91fae0646baf243d686fc6a52b97a53005 (patch) | |
tree | cfb9a5cb2f2a8356d87321493bb4f1828fbc340d | |
parent | 355c15fd8cf93ce2db3f2edc6e76c075dd62f7e8 (diff) | |
download | openembedded-core-1fcb1b91fae0646baf243d686fc6a52b97a53005.tar.gz openembedded-core-1fcb1b91fae0646baf243d686fc6a52b97a53005.tar.bz2 openembedded-core-1fcb1b91fae0646baf243d686fc6a52b97a53005.zip |
libunwind: Fix build on ppc
gcc driver is fixed to pass correct options to linker to do secure plt
linking when enabled. however this option --secure-plt is not supported
by gold linker which is now passed by default from gcc driver. Hence
the build fails when using gold. Therefore when we use gold then we do
not use secure plt
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-support/libunwind/libunwind.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-support/libunwind/libunwind.inc b/meta/recipes-support/libunwind/libunwind.inc index 068858b2d8..f83614bf5c 100644 --- a/meta/recipes-support/libunwind/libunwind.inc +++ b/meta/recipes-support/libunwind/libunwind.inc @@ -26,7 +26,7 @@ LDFLAGS_append_x86-64 = " -fuse-ld=gold" LDFLAGS_append_arm = " -fuse-ld=gold" LDFLAGS_append_aarch64 = " -fuse-ld=gold" -LDFLAGS_append_powerpc = " -fuse-ld=gold" -LDFLAGS_append_powerpc64 = " -fuse-ld=gold" +LDFLAGS_append_powerpc = " -fuse-ld=gold -mbss-plt" +LDFLAGS_append_powerpc64 = " -fuse-ld=gold -mbss-plt" BBCLASSEXTEND = "native" |