diff options
author | Pavel Chupin <pavel.v.chupin@intel.com> | 2012-08-28 12:20:55 +0400 |
---|---|---|
committer | Pavel Chupin <pavel.v.chupin@intel.com> | 2012-08-28 13:10:18 +0400 |
commit | b205b461537ab2f935bdf84a3083b26360026f44 (patch) | |
tree | d3c58aa830132e6431e638f377efbe0bea92a8b4 /core | |
parent | 68559da02facee0691a4417d31b42491bf174f15 (diff) | |
download | build-b205b461537ab2f935bdf84a3083b26360026f44.zip build-b205b461537ab2f935bdf84a3083b26360026f44.tar.gz build-b205b461537ab2f935bdf84a3083b26360026f44.tar.bz2 |
Use gold linker on x86
Patch removes fallback -fuse-ld=bfd for x86 target and
--copy-dt-needed-entries which is not supported by gold linker.
Change-Id: Ie5603f98e3f2f9d4f81678c718e39b130a75d057
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/combo/TARGET_linux-x86.mk | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/combo/TARGET_linux-x86.mk b/core/combo/TARGET_linux-x86.mk index 9c0f7b9..f12ad3e 100644 --- a/core/combo/TARGET_linux-x86.mk +++ b/core/combo/TARGET_linux-x86.mk @@ -186,14 +186,11 @@ $(hide) $(PRIVATE_CXX) \ endef -# Add -fuse-ld=bfd because ld.gold doesn't support "--copy-dt-needed-entries". define transform-o-to-executable-inner $(hide) $(PRIVATE_CXX) \ $(TARGET_GLOBAL_LDFLAGS) \ -nostdlib -Bdynamic \ -Wl,-dynamic-linker,/system/bin/linker \ - -Wl,--copy-dt-needed-entries \ - -fuse-ld=bfd \ -Wl,-z,nocopyreloc \ -fPIE -pie \ -o $@ \ |