diff options
author | Bob Wilson <bob.wilson@apple.com> | 2013-06-04 15:26:37 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2013-06-04 15:26:37 +0000 |
commit | 16522c01dca90d70c5888d78eae3d4014e42e9d1 (patch) | |
tree | 5341aa5b8b3d9166f7cf85fcd0f8183f8cc476c3 /llvm/tools/llvm-shlib | |
parent | 276ceb8d5f6a79340024307f8e1aeab12d61c026 (diff) | |
download | bcm5719-llvm-16522c01dca90d70c5888d78eae3d4014e42e9d1.tar.gz bcm5719-llvm-16522c01dca90d70c5888d78eae3d4014e42e9d1.zip |
Remove "-Wl,-seg1addr -Wl,0xE0000000" from link options.
Specifying the load address for Darwin i386 dylibs was a performance
optimization for dyld that is not relevant for x86_64 or arm. We can just
remove this now.
llvm-svn: 183230
Diffstat (limited to 'llvm/tools/llvm-shlib')
-rw-r--r-- | llvm/tools/llvm-shlib/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/tools/llvm-shlib/Makefile b/llvm/tools/llvm-shlib/Makefile index 6d6c6e9f14b..8697bbfb7a9 100644 --- a/llvm/tools/llvm-shlib/Makefile +++ b/llvm/tools/llvm-shlib/Makefile @@ -51,8 +51,7 @@ ifeq ($(HOST_OS),Darwin) LLVMLibsOptions := $(LLVMLibsOptions) -all_load # extra options to override libtool defaults LLVMLibsOptions := $(LLVMLibsOptions) \ - -Wl,-dead_strip \ - -Wl,-seg1addr -Wl,0xE0000000 + -Wl,-dead_strip # Mac OS X 10.4 and earlier tools do not allow a second -install_name on command line DARWIN_VERS := $(shell echo $(TARGET_TRIPLE) | sed 's/.*darwin\([0-9]*\).*/\1/') |