From: Geoffrey Keating Date: Thu, 1 Dec 2005 08:42:31 +0000 (+0000) Subject: t-slibgcc-darwin (SHLIB_LINK): Use -single_module rather than -flat_namespace. X-Git-Tag: releases/gcc-4.2.0~5644 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de384a00efdf116e1776a9b99aa7b0dec966eff1;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c0b9477457ce..82504241ad08 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-12-01 Geoffrey Keating + + * config/t-slibgcc-darwin (SHLIB_LINK): Use -single_module rather + than -flat_namespace. + 2005-12-01 Ben Elliston * mklibgcc.in: Parameterise the script to build soft float diff --git a/gcc/config/t-slibgcc-darwin b/gcc/config/t-slibgcc-darwin index 2e1f5c83d542..e90f500d74c6 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 && \