--- gcc-4.7-4.7.2/src/libgcc/config/rs6000/crtsavfpr.S.orig 2012-11-09 21:11:13.923320372 +0100 +++ gcc-4.7-4.7.2/src/libgcc/config/rs6000/crtsavfpr.S 2012-11-09 21:12:06.083333334 +0100 @@ -33,6 +33,7 @@ /* On PowerPC64 Linux, these functions are provided by the linker. */ #ifndef __powerpc64__ +#ifndef __NO_FPRS__ /* Routines for saving floating point registers, called by the compiler. */ /* Called with r11 pointing to the stack header word of the caller of the */ @@ -79,3 +80,4 @@ CFI_ENDPROC #endif +#endif --- gcc-4.7-4.7.2/src/libgcc/config/rs6000/crtresfpr.S.orig 2012-11-10 00:18:44.590113135 +0100 +++ gcc-4.7-4.7.2/src/libgcc/config/rs6000/crtresfpr.S 2012-11-10 00:19:15.414120795 +0100 @@ -33,6 +33,7 @@ /* On PowerPC64 Linux, these functions are provided by the linker. */ #ifndef __powerpc64__ +#ifndef __NO_FPRS__ /* Routines for restoring floating point registers, called by the compiler. */ /* Called with r11 pointing to the stack header word of the caller of the */ @@ -79,3 +80,4 @@ CFI_ENDPROC #endif +#endif --- gcc-4.7-4.7.2/src/libgcc/config/rs6000/crtresxfpr.S.orig 2012-11-10 07:48:47.768732506 +0100 +++ gcc-4.7-4.7.2/src/libgcc/config/rs6000/crtresxfpr.S 2012-11-10 07:51:31.584768060 +0100 @@ -33,6 +33,7 @@ /* On PowerPC64 Linux, these functions are provided by the linker. */ #ifndef __powerpc64__ +#ifndef __NO_FPRS__ /* Routines for restoring floating point registers, called by the compiler. */ /* Called with r11 pointing to the stack header word of the caller of the */ @@ -124,3 +125,4 @@ CFI_ENDPROC #endif +#endif