Index: gcc/ada/mlib-tgt-specific-darwin.adb =================================================================== --- gcc/ada/mlib-tgt-specific-darwin.adb (revision 178615) +++ gcc/ada/mlib-tgt-specific-darwin.adb (working copy) @@ -57,15 +57,10 @@ package body MLib.Tgt.Specific is -- Local objects - Flat_Namespace : aliased String := "-Wl,-flat_namespace"; - -- Instruct the linker to build the shared library as a flat - -- namespace image. The default is a two-level namespace image. - Shared_Libgcc : aliased String := "-shared-libgcc"; Shared_Options : constant Argument_List := - (1 => Flat_Namespace'Access, - 2 => Shared_Libgcc'Access); + (1 => Shared_Libgcc'Access); ----------------------------- -- Archive_Indexer_Options -- Index: gcc/ada/gcc-interface/Makefile.in =================================================================== --- gcc/ada/gcc-interface/Makefile.in (revision 178615) +++ gcc/ada/gcc-interface/Makefile.in (working copy) @@ -2164,7 +2164,7 @@ ifeq ($(strip $(filter-out %x86_64 linux%,$(arch) endif ifeq ($(strip $(filter-out darwin%,$(osys))),) - SO_OPTS = -Wl,-flat_namespace -shared-libgcc + SO_OPTS = -shared-libgcc ifeq ($(strip $(filter-out %86,$(arch))),) LIBGNAT_TARGET_PAIRS = \ a-intnam.ads