summaryrefslogtreecommitdiff
path: root/gcc/config/t-slibgcc-darwin
diff options
context:
space:
mode:
authorechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-04 02:10:10 +0000
committerechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-04 02:10:10 +0000
commita47cd78650ce6b82271133e1c319674401e0b4cb (patch)
tree638a02afc406ea4648454e7cceb73bf95b4020b0 /gcc/config/t-slibgcc-darwin
parent4af16d2d64d17ef2f1a7d2d79908fa537a52faa9 (diff)
downloadgcc-a47cd78650ce6b82271133e1c319674401e0b4cb.tar.gz
2006-12-03 Eric Christopher <echristo@apple.com>
PR target/24598 * config/t-slibgcc-darwin: Pass -install_name. * config/darwin.h (LINK_COMMAND_SPEC): Remove use of libtool. Only pass through options that the linker recognizes. (LINK_SPEC): Update comment. Translate options. (STARTFILE_SPEC): Add dylib1.o for shared libraries. * config/darwin9.h (LINK_COMMAND_SPEC): Ditto above. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119477 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/t-slibgcc-darwin')
-rw-r--r--gcc/config/t-slibgcc-darwin2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/t-slibgcc-darwin b/gcc/config/t-slibgcc-darwin
index 0c6eded3de4..f41acae1b3f 100644
--- a/gcc/config/t-slibgcc-darwin
+++ b/gcc/config/t-slibgcc-darwin
@@ -16,7 +16,7 @@ SHLIB_LC = -lc
# Note that this version is used for the loader, not the linker; the linker
# uses the stub versions named by $(LIBGCC).
SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -dynamiclib -nodefaultlibs \
- -Wl,-install_name,$(slibdir)/$(SHLIB_INSTALL_NAME) \
+ -install_name $(slibdir)/$(SHLIB_INSTALL_NAME) \
-single_module -o $(SHLIB_DIR)/$(SHLIB_SONAME).tmp \
-Wl,-exported_symbols_list,$(SHLIB_MAP) \
$(SHLIB_VERSTRING) \