aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2011-11-01 10:59:35 -0700
committerNick Kralevich <nnk@google.com>2012-05-15 10:40:35 -0700
commitee08fe31964ce65f97bc9f9341eee915cb0ea6aa (patch)
tree11dfa3551eb506dab26726bdf5b1c940910fc98f
parent2d7274de30e35eb13d2934707601ef91ce0f6d4d (diff)
downloadbuild-ee08fe31964ce65f97bc9f9341eee915cb0ea6aa.tar.gz
stop using a custom linker script for static executables.
This is causing problems with making the linker relocatable. Change-Id: I53e37fba52eabd3145130712d6e9bff074aed493
-rw-r--r--core/combo/TARGET_linux-arm.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/combo/TARGET_linux-arm.mk b/core/combo/TARGET_linux-arm.mk
index 987afd4801..7b2378d06b 100644
--- a/core/combo/TARGET_linux-arm.mk
+++ b/core/combo/TARGET_linux-arm.mk
@@ -289,7 +289,7 @@ $(hide) $(PRIVATE_CXX) -nostdlib -Bdynamic -Wl,-T,$(BUILD_SYSTEM)/armelf.x \
endef
define transform-o-to-static-executable-inner
-$(hide) $(PRIVATE_CXX) -nostdlib -Bstatic -Wl,-T,$(BUILD_SYSTEM)/armelf.x \
+$(hide) $(PRIVATE_CXX) -nostdlib -Bstatic \
-Wl,--gc-sections \
-o $@ \
$(TARGET_GLOBAL_LD_DIRS) \