| Submitter | IainS |
|---|---|
| Date | Aug. 20, 2010, 12:49 p.m. |
| Message ID | <4F28FDAC-7843-446A-B573-CEE5C0B60CFA@sandoe-acoustics.co.uk> |
| Download | mbox | patch |
| Permalink | /patch/62274/ |
| State | New |
| Headers | show |
Comments
Patch
Index: gcc/config/rs6000/darwin.h =================================================================== --- gcc/config/rs6000/darwin.h (revision 163400) +++ gcc/config/rs6000/darwin.h (working copy) @@ -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 \