source: patches/gcc-4.1.1-sparc_tls-1.patch@ 18e9f9f

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 18e9f9f was 89d1048, checked in by Jim Gifford <clfs@…>, 19 years ago

Updated to GCC 4.1.1 patches

  • Property mode set to 100644
File size: 815 bytes
RevLine 
[689bfe5a]1Submitted By: Ryan Oliver <ryan at pha dot com dot au>
2Date: 2006-04-30
3Initial Package Version: 4.1.0
4Origin: Jakub
5Upstream Status: In GCC Trunk
6Description: Fixed in GCC SVN Revision #110522
7 * config/sparc/sparc.c (sparc_output_scratch_registers): Use
8 #ignore instead of #scratch for %g7 .register directive.
9
10--- trunk/gcc/config/sparc/sparc.c 2006/01/31 22:33:27 110451
11+++ trunk/gcc/config/sparc/sparc.c 2006/02/02 22:49:01 110522
12@@ -3693,7 +3693,10 @@
13 && ! sparc_hard_reg_printed [i])
14 {
15 sparc_hard_reg_printed [i] = 1;
16- fprintf (file, "\t.register\t%%g%d, #scratch\n", i);
17+ /* %g7 is used as TLS base register, use #ignore
18+ for it instead of #scratch. */
19+ fprintf (file, "\t.register\t%%g%d, #%s\n", i,
20+ i == 7 ? "ignore" : "scratch");
21 }
22 if (i == 3) i = 5;
23 }
24
Note: See TracBrowser for help on using the repository browser.