From 16522c01dca90d70c5888d78eae3d4014e42e9d1 Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Tue, 4 Jun 2013 15:26:37 +0000 Subject: 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 --- llvm/runtime/libprofile/Makefile | 3 +-- llvm/tools/llvm-shlib/Makefile | 3 +-- llvm/tools/lto/Makefile | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) (limited to 'llvm') diff --git a/llvm/runtime/libprofile/Makefile b/llvm/runtime/libprofile/Makefile index 6c3701b2687..b82e995ced3 100644 --- a/llvm/runtime/libprofile/Makefile +++ b/llvm/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/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/') diff --git a/llvm/tools/lto/Makefile b/llvm/tools/lto/Makefile index ab2e16e5fab..30719f49b1d 100644 --- a/llvm/tools/lto/Makefile +++ b/llvm/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/') -- cgit v1.2.3