aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2005-12-01 08:42:31 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2005-12-01 08:42:31 +0000
commitde384a00efdf116e1776a9b99aa7b0dec966eff1 (patch)
tree200c7227ff09c5c239b3d31ef0f4ccd71a99fc06
parent8ab7c30a501378e26d52c0fdbdaa68c0fca05431 (diff)
downloadgcc-de384a00efdf116e1776a9b99aa7b0dec966eff1.zip
gcc-de384a00efdf116e1776a9b99aa7b0dec966eff1.tar.gz
gcc-de384a00efdf116e1776a9b99aa7b0dec966eff1.tar.bz2
t-slibgcc-darwin (SHLIB_LINK): Use -single_module rather than -flat_namespace.
* config/t-slibgcc-darwin (SHLIB_LINK): Use -single_module rather than -flat_namespace. From-SVN: r107813
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/t-slibgcc-darwin2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c0b9477..8250424 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-12-01 Geoffrey Keating <geoffk@apple.com>
+
+ * config/t-slibgcc-darwin (SHLIB_LINK): Use -single_module rather
+ than -flat_namespace.
+
2005-12-01 Ben Elliston <bje@au.ibm.com>
* mklibgcc.in: Parameterise the script to build soft float
diff --git a/gcc/config/t-slibgcc-darwin b/gcc/config/t-slibgcc-darwin
index 2e1f5c8..e90f500 100644
--- a/gcc/config/t-slibgcc-darwin
+++ b/gcc/config/t-slibgcc-darwin
@@ -14,7 +14,7 @@ SHLIB_DIR = @multilib_dir@
# uses the stub versions named by $(LIBGCC).
SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -dynamiclib -nodefaultlibs \
-Wl,-install_name,$(slibdir)/$(SHLIB_SONAME) \
- -Wl,-flat_namespace -o $(SHLIB_SONAME).tmp \
+ -single_module -o $(SHLIB_SONAME).tmp \
-Wl,-exported_symbols_list,$(SHLIB_MAP) \
$(SHLIB_VERSTRING) \
@multilib_flags@ $(SHLIB_OBJS) -lc && \