/usr/src/gcc-4.6/debian/patches/no_fpr_in_libgcc.diff is in gcc-4.6-source 4.6.4-6ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | # DP: It does not really harm by including them since nobody should use them
# DP: but gas does not wont to assmebly hard float since they are not
# DP: available on this cpu. Upstream did not respond.
--- a/src/gcc/config/rs6000/crtresfpr.asm
+++ b/src/gcc/config/rs6000/crtresfpr.asm
@@ -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/gcc/config/rs6000/crtresxfpr.asm
+++ b/src/gcc/config/rs6000/crtresxfpr.asm
@@ -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/gcc/config/rs6000/crtsavfpr.asm
+++ b/src/gcc/config/rs6000/crtsavfpr.asm
@@ -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
|