clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since ee09899c was 2c79b57, checked in by Jim Gifford <clfs@…>, 18 years ago |
Updated to GCC 4.1.2
|
-
Property mode
set to
100644
|
File size:
931 bytes
|
Rev | Line | |
---|
[689bfe5a] | 1 | Submitted By: Ryan Oliver <ryan at pha dot com dot au>
|
---|
[2c79b57] | 2 | Date: 2007-02-14
|
---|
| 3 | Initial Package Version: 4.1.2
|
---|
[689bfe5a] | 4 | Origin: Jakub
|
---|
| 5 | Upstream Status: In GCC Trunk
|
---|
| 6 | Description: 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 |
|
---|
[2c79b57] | 10 | diff -Naur gcc-4.1.2.orig/gcc/config/sparc/sparc.c gcc-4.1.2/gcc/config/sparc/sparc.c
|
---|
| 11 | --- gcc-4.1.2.orig/gcc/config/sparc/sparc.c 2006-04-14 00:02:43.000000000 -0700
|
---|
| 12 | +++ gcc-4.1.2/gcc/config/sparc/sparc.c 2007-02-14 08:00:08.000000000 -0800
|
---|
| 13 | @@ -3709,7 +3709,10 @@
|
---|
[689bfe5a] | 14 | && ! sparc_hard_reg_printed [i])
|
---|
| 15 | {
|
---|
| 16 | sparc_hard_reg_printed [i] = 1;
|
---|
| 17 | - fprintf (file, "\t.register\t%%g%d, #scratch\n", i);
|
---|
| 18 | + /* %g7 is used as TLS base register, use #ignore
|
---|
| 19 | + for it instead of #scratch. */
|
---|
| 20 | + fprintf (file, "\t.register\t%%g%d, #%s\n", i,
|
---|
| 21 | + i == 7 ? "ignore" : "scratch");
|
---|
| 22 | }
|
---|
| 23 | if (i == 3) i = 5;
|
---|
| 24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.