re PR target/49992 (lto-bootstrap reveals duplicate symbols on x86_64-apple-darwin11)

gcc/ada:

2011-11-18  Tristan Gingold  <gingold@adacore.com>
	    Iain Sandoe  <iains@gcc.gnu.org>

	PR target/49992
	* mlib-tgt-specific-darwin.adb (Archive_Indexer_Options): Remove.
	* gcc-interface/Makefile.in (darwin): Remove ranlib special-casing
	for Darwin.


Co-Authored-By: Iain Sandoe <iains@gcc.gnu.org>

From-SVN: r181470
This commit is contained in:
Tristan Gingold 2011-11-18 10:54:21 +00:00 committed by Iain Sandoe
parent 10eb188cac
commit 1e1ae0afd8
3 changed files with 8 additions and 13 deletions

View File

@ -1,3 +1,11 @@
2011-11-18 Tristan Gingold <gingold@adacore.com>
Iain Sandoe <iains@gcc.gnu.org>
PR target/49992
* mlib-tgt-specific-darwin.adb (Archive_Indexer_Options): Remove.
* gcc-interface/Makefile.in (darwin): Remove ranlib special-casing
for Darwin.
2011-11-12 Iain Sandoe <iains@gcc.gnu.org>
* gcc-interface/Makefile.in (stamp-gnatlib-$(RTSDIR)): Don't link

View File

@ -2182,7 +2182,6 @@ ifeq ($(strip $(filter-out darwin%,$(osys))),)
EH_MECHANISM=-gcc
GNATLIB_SHARED = gnatlib-shared-darwin
RANLIB = ranlib -c
GMEM_LIB = gmemlib
LIBRARY_VERSION := $(LIB_VERSION)
soext = .dylib

View File

@ -36,8 +36,6 @@ package body MLib.Tgt.Specific is
-- Non default subprograms
function Archive_Indexer_Options return String_List_Access;
procedure Build_Dynamic_Library
(Ofiles : Argument_List;
Options : Argument_List;
@ -62,15 +60,6 @@ package body MLib.Tgt.Specific is
Shared_Options : constant Argument_List :=
(1 => Shared_Libgcc'Access);
-----------------------------
-- Archive_Indexer_Options --
-----------------------------
function Archive_Indexer_Options return String_List_Access is
begin
return new String_List'(1 => new String'("-c"));
end Archive_Indexer_Options;
---------------------------
-- Build_Dynamic_Library --
---------------------------
@ -175,7 +164,6 @@ package body MLib.Tgt.Specific is
end Is_Archive_Ext;
begin
Archive_Indexer_Options_Ptr := Archive_Indexer_Options'Access;
Build_Dynamic_Library_Ptr := Build_Dynamic_Library'Access;
DLL_Ext_Ptr := DLL_Ext'Access;
Dynamic_Option_Ptr := Dynamic_Option'Access;