darwin.h (LIB_SPEC): New.

* config/rs6000/darwin.h (LIB_SPEC): New. Provide save/restFP by 
	linking libgcc.a.

From-SVN: r163410
This commit is contained in:
Iain Sandoe 2010-08-20 16:12:14 +00:00
parent 521fdcda19
commit bf794e41ee
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-08-20 Iain Sandoe <iains@gcc.gnu.org>
* config/rs6000/darwin.h (LIB_SPEC): New. Provide save/restFP by
linking libgcc.a.
2010-08-20 Jakub Jelinek <jakub@redhat.com>
Michael Matz <matz@suse.de>

View File

@ -120,6 +120,11 @@ extern int darwin_emit_branch_islands;
mcpu=G5:ppc970; \
:ppc}}"
/* Linked libs might refer to save/restFP - we still need to append -lgcc to
provide these. */
#undef LIB_SPEC
#define LIB_SPEC "%{!static:-lgcc -lSystem}"
/* crt2.o is at least partially required for 10.3.x and earlier. */
#define DARWIN_CRT2_SPEC \
"%{!m64:%:version-compare(!> 10.4 mmacosx-version-min= crt2.o%s)}"