source: patches/gcc-4.1.0-sparc_tls-1.patch @ 96fbea0

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 96fbea0 was 689bfe5a, checked in by Jim Gifford <clfs@…>, 18 years ago

Added: gcc-4.1.0-sparc_tls-1.patch

  • 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.