source:
patches/gcc-4.1.1-sparc_tls-1.patch@
65009ab2
Last change on this file since 65009ab2 was 89d1048, checked in by , 19 years ago | |
---|---|
|
|
File size: 815 bytes |
-
trunk/gcc/config/sparc/sparc.c
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.
3693 3693 && ! sparc_hard_reg_printed [i]) 3694 3694 { 3695 3695 sparc_hard_reg_printed [i] = 1; 3696 fprintf (file, "\t.register\t%%g%d, #scratch\n", i); 3696 /* %g7 is used as TLS base register, use #ignore 3697 for it instead of #scratch. */ 3698 fprintf (file, "\t.register\t%%g%d, #%s\n", i, 3699 i == 7 ? "ignore" : "scratch"); 3697 3700 } 3698 3701 if (i == 3) i = 5; 3699 3702 }
Note:
See TracBrowser
for help on using the repository browser.