Author: jim
Date: 2006-04-30 13:52:59 -0600 (Sun, 30 Apr 2006)
New Revision: 1511

Added:
   trunk/gcc/gcc-4.1.0-sparc_tls-1.patch
Modified:
   trunk/
Log:
 [EMAIL PROTECTED]:  jim | 2006-04-30 12:50:27 -0700
 Added: gcc-4.1.0-sparc_tls-1.patch
 



Property changes on: trunk
___________________________________________________________________
Name: svk:merge
   - cc2644d5-6cf8-0310-b111-c40428001e49:/patches:1710
e59974df-c20a-0410-b7e1-d7eaf1be8828:/patches:1648
   + cc2644d5-6cf8-0310-b111-c40428001e49:/patches:1710
e59974df-c20a-0410-b7e1-d7eaf1be8828:/patches:1649

Added: trunk/gcc/gcc-4.1.0-sparc_tls-1.patch
===================================================================
--- trunk/gcc/gcc-4.1.0-sparc_tls-1.patch                               (rev 0)
+++ trunk/gcc/gcc-4.1.0-sparc_tls-1.patch       2006-04-30 19:52:59 UTC (rev 
1511)
@@ -0,0 +1,24 @@
+Submitted By: Ryan Oliver <ryan at pha dot com dot au>
+Date: 2006-04-30
+Initial Package Version: 4.1.0
+Origin: Jakub
+Upstream Status: In GCC Trunk
+Description: Fixed in GCC SVN Revision #110522
+       * config/sparc/sparc.c (sparc_output_scratch_registers): Use
+       #ignore instead of #scratch for %g7 .register directive.
+
+--- trunk/gcc/config/sparc/sparc.c     2006/01/31 22:33:27     110451
++++ trunk/gcc/config/sparc/sparc.c     2006/02/02 22:49:01     110522
+@@ -3693,7 +3693,10 @@
+         && ! 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;
+     }
+

-- 
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to