diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-08-08 15:51:01 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-10 10:46:34 +0100 |
commit | b6ecbee4b2951a5ca6ceafbc20a300c8d375ddf7 (patch) | |
tree | 02305556d35abbb5631833a65b02c8fd748bdca2 /meta/recipes-support | |
parent | e0ad5a9dcbca9af640686bcb78a2efef0cb18e01 (diff) | |
download | poky-b6ecbee4b2951a5ca6ceafbc20a300c8d375ddf7.tar.gz |
libunwind: Do not use gold for linking
This effectively reverts the commit
3dd233ac0c80393824100c54bb525236f8290fd2
gold now emits errors on copy relocs against
protected symbols what ld.bfd did in past, however
it seems its too conservative.
This does not fix the case for folks who
use gold as default linker, however it
does make bintuls 2.27 work with default
configuration of OE
(From OE-Core rev: 0092a076adb11cac411c86389af84bb96169730f)
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>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/libunwind/libunwind.inc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/meta/recipes-support/libunwind/libunwind.inc b/meta/recipes-support/libunwind/libunwind.inc index 1c342d3922..e4ae8df278 100644 --- a/meta/recipes-support/libunwind/libunwind.inc +++ b/meta/recipes-support/libunwind/libunwind.inc | |||
@@ -18,15 +18,6 @@ ATOMICOPS_armv5 = "-DAO_USE_PTHREAD_DEFS=1" | |||
18 | ATOMICOPS_armv4 = "-DAO_USE_PTHREAD_DEFS=1" | 18 | ATOMICOPS_armv4 = "-DAO_USE_PTHREAD_DEFS=1" |
19 | ATOMICOPS ?= "" | 19 | ATOMICOPS ?= "" |
20 | 20 | ||
21 | LDFLAGS_append_x86 = " -fuse-ld=gold" | ||
22 | LDFLAGS_append_x86-64 = " -fuse-ld=gold" | ||
23 | |||
24 | LDFLAGS_append_arm = " -fuse-ld=gold" | ||
25 | LDFLAGS_append_aarch64 = " -fuse-ld=gold" | ||
26 | |||
27 | LDFLAGS_append_powerpc = " -fuse-ld=gold -mbss-plt" | ||
28 | LDFLAGS_append_powerpc64 = " -fuse-ld=gold -mbss-plt" | ||
29 | |||
30 | SECURITY_LDFLAGS_append_libc-musl = " -lssp_nonshared -lssp" | 21 | SECURITY_LDFLAGS_append_libc-musl = " -lssp_nonshared -lssp" |
31 | 22 | ||
32 | BBCLASSEXTEND = "native" | 23 | BBCLASSEXTEND = "native" |