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
This commit is contained in:
Geoffrey Keating 2005-12-01 08:42:31 +00:00 committed by Geoffrey Keating
parent 8ab7c30a50
commit de384a00ef
2 changed files with 6 additions and 1 deletions

View 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

View 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 && \