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 | 8240ef04108620fef51219e9495a6e71e95ccd75 (patch) | |
tree | 7b9afcd3ac25299a772b5d4ff1cb83ebdcff419d /tools | |
parent | 98017a015bb862afce4f90d432eded4e28fe1d26 (diff) | |
download | external_llvm-8240ef04108620fef51219e9495a6e71e95ccd75.zip external_llvm-8240ef04108620fef51219e9495a6e71e95ccd75.tar.gz external_llvm-8240ef04108620fef51219e9495a6e71e95ccd75.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183230 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llvm-shlib/Makefile | 3 | ||||
-rw-r--r-- | tools/lto/Makefile | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/tools/llvm-shlib/Makefile b/tools/llvm-shlib/Makefile index 6d6c6e9..8697bbf 100644 --- a/tools/llvm-shlib/Makefile +++ b/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/') diff --git a/tools/lto/Makefile b/tools/lto/Makefile index ab2e16e..30719f4 100644 --- a/tools/lto/Makefile +++ b/tools/lto/Makefile @@ -39,8 +39,7 @@ ifeq ($(HOST_OS),Darwin) endif # 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/') |