1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
--- a/src/libgcc/config/rs6000/crtsavfpr.S
+++ b/src/libgcc/config/rs6000/crtsavfpr.S
@@ -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
--- a/src/libgcc/config/rs6000/crtresfpr.S
+++ b/src/libgcc/config/rs6000/crtresfpr.S
@@ -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
--- a/src/libgcc/config/rs6000/crtresxfpr.S
+++ b/src/libgcc/config/rs6000/crtresxfpr.S
@@ -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
--- a/src/libgcc/config/rs6000/crtsavevr.S 2013-03-13 22:25:25.802681336 +0000
+++ b/src/libgcc/config/rs6000/crtsavevr.S 2013-03-13 22:26:21.054695066 +0000
@@ -24,6 +24,7 @@
/* On PowerPC64 Linux, these functions are provided by the linker. */
#ifndef __powerpc64__
+#ifndef __NO_FPRS__
#undef __ALTIVEC__
#define __ALTIVEC__ 1
@@ -85,3 +86,4 @@
CFI_ENDPROC
#endif
+#endif
--- a/src/libgcc/config/rs6000/crtrestvr.S 2013-03-13 22:25:28.394681980 +0000
+++ b/src/libgcc/config/rs6000/crtrestvr.S 2013-03-13 22:26:21.058695067 +0000
@@ -24,6 +24,7 @@
/* On PowerPC64 Linux, these functions are provided by the linker. */
#ifndef __powerpc64__
+#ifndef __NO_FPRS__
#undef __ALTIVEC__
#define __ALTIVEC__ 1
@@ -85,3 +86,4 @@
CFI_ENDPROC
#endif
+#endif
|