source:
patches/gcc-4.1.2-sparc_tls-1.patch@
17dc051
Last change on this file since 17dc051 was 2c79b57, checked in by , 18 years ago | |
---|---|
|
|
File size: 931 bytes |
-
gcc/config/sparc/sparc.c
Submitted By: Ryan Oliver <ryan at pha dot com dot au> Date: 2007-02-14 Initial Package Version: 4.1.2 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. diff -Naur gcc-4.1.2.orig/gcc/config/sparc/sparc.c gcc-4.1.2/gcc/config/sparc/sparc.c
old new 3709 3709 && ! sparc_hard_reg_printed [i]) 3710 3710 { 3711 3711 sparc_hard_reg_printed [i] = 1; 3712 fprintf (file, "\t.register\t%%g%d, #scratch\n", i); 3712 /* %g7 is used as TLS base register, use #ignore 3713 for it instead of #scratch. */ 3714 fprintf (file, "\t.register\t%%g%d, #%s\n", i, 3715 i == 7 ? "ignore" : "scratch"); 3713 3716 } 3714 3717 if (i == 3) i = 5; 3715 3718 }
Note:
See TracBrowser
for help on using the repository browser.