@@ -1,3 +1,9 @@
+2010-06-17 Sebastian Andrzej Siewior <bigeasy@linutronix.de>
+
+ * config/rs6000/crtresfpr.asm: Put __NO_FPRS__ around FPU opcodes
+ * config/rs6000/crtresxfpr.asm: Likewies.
+ * config/rs6000/crtsavfpr.asm: Likewies.
+
2010-06-17 Nathan Froyd <froydnj@codesourcery.com>
* tree.h (vec_member): Declare.
@@ -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 @@ FUNC_END(_restfpr_14)
CFI_ENDPROC
#endif
+#endif
@@ -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 @@ FUNC_END(_restfpr_14_x)
CFI_ENDPROC
#endif
+#endif
@@ -33,7 +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 */
/* function, just beyond the end of the floating point save area. */
@@ -79,3 +79,4 @@ FUNC_END(_savefpr_14)
CFI_ENDPROC
#endif
+#endif
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> --- gcc/ChangeLog | 6 ++++++ gcc/config/rs6000/crtresfpr.asm | 2 ++ gcc/config/rs6000/crtresxfpr.asm | 2 ++ gcc/config/rs6000/crtsavfpr.asm | 3 ++- 4 files changed, 12 insertions(+), 1 deletions(-)