1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

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
This commit is contained in:
Bob Wilson 2013-06-04 15:26:37 +00:00
parent 8d2ef79cb9
commit 6120d6272e
3 changed files with 3 additions and 6 deletions

View File

@ -35,8 +35,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.

View File

@ -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/')

View File

@ -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/')