Commit 3127f133 by Jack Howarth Committed by Mike Stump

darwin.h (STARTFILE_SPEC): Do not use -lbundle1.o when Darwin >= 10.

2012-05-29  Iain Sandoe  <iains@gcc.gnu.org>

	    * config/darwin.h (STARTFILE_SPEC): Do not use -lbundle1.o when
	    Darwin >= 10.
	    (DARWIN_DYLIB1_SPEC): Do not use -ldylib1.10.5.o when Darwin >= 10.
	    (DARWIN_CRT1_SPEC): Use -lcrt1.10.6.o when Darwin >= 10.

From-SVN: r187992
parent 2df2ce3f
2012-05-29 Iain Sandoe <iains@gcc.gnu.org>
* config/darwin.h (STARTFILE_SPEC): Do not use -lbundle1.o when
Darwin >= 10.
(DARWIN_DYLIB1_SPEC): Do not use -ldylib1.10.5.o when Darwin >= 10.
(DARWIN_CRT1_SPEC): Use -lcrt1.10.6.o when Darwin >= 10.
2012-05-29 Oleg Endo <olegendo@gcc.gnu.org>
PR target/51340
......
......@@ -356,7 +356,9 @@ extern GTY(()) int darwin_ms_struct;
%{!Zbundle:%{pg:%{static:-lgcrt0.o} \
%{!static:%{object:-lgcrt0.o} \
%{!object:%{preload:-lgcrt0.o} \
%{!preload:-lgcrt1.o %(darwin_crt2)}}}} \
%{!preload:-lgcrt1.o \
%:version-compare(>= 10.8 mmacosx-version-min= -no_new_main) \
%(darwin_crt2)}}}} \
%{!pg:%{static:-lcrt0.o} \
%{!static:%{object:-lcrt0.o} \
%{!object:%{preload:-lcrt0.o} \
......@@ -379,7 +381,7 @@ extern GTY(()) int darwin_ms_struct;
#define DARWIN_CRT1_SPEC \
"%:version-compare(!> 10.5 mmacosx-version-min= -lcrt1.o) \
%:version-compare(>< 10.5 10.6 mmacosx-version-min= -lcrt1.10.5.o) \
%:version-compare(>= 10.6 mmacosx-version-min= -lcrt1.10.6.o) \
%:version-compare(>< 10.6 10.8 mmacosx-version-min= -lcrt1.10.6.o) \
%{fgnu-tm: -lcrttms.o}"
/* Default Darwin ASM_SPEC, very simple. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment