summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/libprofile/Makefile3
-rw-r--r--tools/llvm-shlib/Makefile3
-rw-r--r--tools/lto/Makefile3
3 files changed, 3 insertions, 6 deletions
diff --git a/runtime/libprofile/Makefile b/runtime/libprofile/Makefile
index 6c3701b268..b82e995ced 100644
--- a/runtime/libprofile/Makefile
+++ b/runtime/libprofile/Makefile
@@ -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.
diff --git a/tools/llvm-shlib/Makefile b/tools/llvm-shlib/Makefile
index 6d6c6e9f14..8697bbfb7a 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 ab2e16e5fa..30719f49b1 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/')