* config/mips/mips.c (mips_global_pointer): Don't try to use $25.
From-SVN: r73094
This commit is contained in:
parent
54ab330316
commit
db964bded7
@ -1,3 +1,7 @@
|
||||
2003-10-30 Richard Sandiford <rsandifo@redhat.com>
|
||||
|
||||
* config/mips/mips.c (mips_global_pointer): Don't try to use $25.
|
||||
|
||||
2003-10-30 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* config/mips/mips.c (mips_build_builtin_va_list): Use runtime
|
||||
|
@ -6039,7 +6039,8 @@ mips_global_pointer (void)
|
||||
for (regno = GP_REG_FIRST; regno <= GP_REG_LAST; regno++)
|
||||
if (!regs_ever_live[regno]
|
||||
&& call_used_regs[regno]
|
||||
&& !fixed_regs[regno])
|
||||
&& !fixed_regs[regno]
|
||||
&& regno != PIC_FUNCTION_ADDR_REGNUM)
|
||||
return regno;
|
||||
|
||||
return GLOBAL_POINTER_REGNUM;
|
||||
|
Loading…
Reference in New Issue
Block a user