aboutsummaryrefslogtreecommitdiff
path: root/4.1.1
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-08-26 08:00:37 +0000
committerMike Frysinger <vapier@gentoo.org>2006-08-26 08:00:37 +0000
commitb488f581dcb32339b81f6c7d3bc28f3c2d237fd1 (patch)
treeb15b825199fea31665feaa85eb313e910d3a4d60 /4.1.1
parentset -mieee as default on alpha and add -mno-mieee to turn this off (diff)
downloadgcc-patches-b488f581dcb32339b81f6c7d3bc28f3c2d237fd1.tar.gz
gcc-patches-b488f581dcb32339b81f6c7d3bc28f3c2d237fd1.tar.bz2
gcc-patches-b488f581dcb32339b81f6c7d3bc28f3c2d237fd1.zip
fix from upstream
Diffstat (limited to '4.1.1')
-rw-r--r--4.1.1/gentoo/89_all_gcc42-sparc64-ssp.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/4.1.1/gentoo/89_all_gcc42-sparc64-ssp.patch b/4.1.1/gentoo/89_all_gcc42-sparc64-ssp.patch
new file mode 100644
index 0000000..fad5e44
--- /dev/null
+++ b/4.1.1/gentoo/89_all_gcc42-sparc64-ssp.patch
@@ -0,0 +1,23 @@
+http://gcc.gnu.org/ml/gcc-patches/2006-02/msg00177.html
+
+2006-02-02 Jakub Jelinek <jakub@redhat.com>
+
+ * config/sparc/sparc.c (sparc_output_scratch_registers): Use
+ #ignore instead of #scratch for %g7 .register directive.
+
+Index: trunk/gcc/config/sparc/sparc.c
+===================================================================
+--- trunk/gcc/config/sparc/sparc.c (revision 110521)
++++ trunk/gcc/config/sparc/sparc.c (revision 110522)
+@@ -3693,7 +3693,10 @@ sparc_output_scratch_registers (FILE *fi
+ && ! sparc_hard_reg_printed [i])
+ {
+ sparc_hard_reg_printed [i] = 1;
+- fprintf (file, "\t.register\t%%g%d, #scratch\n", i);
++ /* %g7 is used as TLS base register, use #ignore
++ for it instead of #scratch. */
++ fprintf (file, "\t.register\t%%g%d, #%s\n", i,
++ i == 7 ? "ignore" : "scratch");
+ }
+ if (i == 3) i = 5;
+ }