(CONDITIONAL_REGISTER_USAGE): Don't mark pic reg as fixed.
From-SVN: r9889
This commit is contained in:
parent
ffae286a5c
commit
eb9398721e
|
@ -344,21 +344,9 @@ extern int target_flags;
|
|||
compiler's mitts completely off it. We don't bother to zero it out
|
||||
of register classes. If neither TARGET_FPA or TARGET_68881 is set,
|
||||
the compiler won't touch since no instructions that use these
|
||||
registers will be valid.
|
||||
registers will be valid. */
|
||||
|
||||
Reserve PIC_OFFSET_TABLE_REGNUM (a5) for doing PIC relocation if
|
||||
position independent code is being generated by making it a
|
||||
fixed register */
|
||||
|
||||
#ifndef SUPPORT_SUN_FPA
|
||||
|
||||
#define CONDITIONAL_REGISTER_USAGE \
|
||||
{ \
|
||||
if (flag_pic) \
|
||||
fixed_regs[PIC_OFFSET_TABLE_REGNUM] = 1; \
|
||||
}
|
||||
|
||||
#else /* defined SUPPORT_SUN_FPA */
|
||||
#ifdef SUPPORT_SUN_FPA
|
||||
|
||||
#define CONDITIONAL_REGISTER_USAGE \
|
||||
{ \
|
||||
|
@ -378,8 +366,6 @@ extern int target_flags;
|
|||
if (TEST_HARD_REG_BIT (x, i)) \
|
||||
fixed_regs[i] = call_used_regs[i] = 1; \
|
||||
} \
|
||||
if (flag_pic) \
|
||||
fixed_regs[PIC_OFFSET_TABLE_REGNUM] = 1; \
|
||||
}
|
||||
|
||||
#endif /* defined SUPPORT_SUN_FPA */
|
||||
|
|
Loading…
Reference in New Issue