source: patches/gcc-4.1.1-sparc_tls-1.patch@ 39b5a3f

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 39b5a3f 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
  • 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.
    
     
    36933693          && ! sparc_hard_reg_printed [i])
    36943694        {
    36953695          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");
    36973700        }
    36983701      if (i == 3) i = 5;
    36993702    }
Note: See TracBrowser for help on using the repository browser.