Commit db964bde by Richard Sandiford Committed by Richard Sandiford

* config/mips/mips.c (mips_global_pointer): Don't try to use $25.

From-SVN: r73094
parent 54ab3303
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> 2003-10-30 Richard Henderson <rth@redhat.com>
* config/mips/mips.c (mips_build_builtin_va_list): Use runtime * config/mips/mips.c (mips_build_builtin_va_list): Use runtime
......
...@@ -6039,7 +6039,8 @@ mips_global_pointer (void) ...@@ -6039,7 +6039,8 @@ mips_global_pointer (void)
for (regno = GP_REG_FIRST; regno <= GP_REG_LAST; regno++) for (regno = GP_REG_FIRST; regno <= GP_REG_LAST; regno++)
if (!regs_ever_live[regno] if (!regs_ever_live[regno]
&& call_used_regs[regno] && call_used_regs[regno]
&& !fixed_regs[regno]) && !fixed_regs[regno]
&& regno != PIC_FUNCTION_ADDR_REGNUM)
return regno; return regno;
return GLOBAL_POINTER_REGNUM; return GLOBAL_POINTER_REGNUM;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment