t-slibgcc-darwin (SHLIB_LINK): Use -single_module rather than -flat_namespace.
authorGeoffrey Keating <geoffk@apple.com>
Thu, 1 Dec 2005 08:42:31 +0000 (08:42 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Thu, 1 Dec 2005 08:42:31 +0000 (08:42 +0000)
* config/t-slibgcc-darwin (SHLIB_LINK): Use -single_module rather
than -flat_namespace.

From-SVN: r107813

gcc/ChangeLog
gcc/config/t-slibgcc-darwin

index c0b9477457ce7fba54f1f82ff4a8a0cea086746c..82504241ad089000de67d31d69fd32326ced522b 100644 (file)
@@ -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
index 2e1f5c83d5424b2f7310c3bce8c9f28aaf04856a..e90f500d74c62b33eeb90411a4f7f5bec3ba6a45 100644 (file)
@@ -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 && \