m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA case.

* m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
        case.  Also make the PIC register call_used.

From-SVN: r27809
This commit is contained in:
Jeffrey A Law 1999-06-28 05:13:02 +00:00 committed by Jeff Law
parent 8945f887ed
commit 44e3d967f7
2 changed files with 12 additions and 1 deletions

View file

@ -1,5 +1,8 @@
Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
* m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
case. Also make the PIC register call_used.
* m68k.h (FINALIZE_PIC): Delete.
* m68k.c (finalize_pic): Delete.

View file

@ -457,7 +457,15 @@ extern int target_flags;
fixed_regs[i] = call_used_regs[i] = 1; \
} \
if (flag_pic) \
fixed_regs[PIC_OFFSET_TABLE_REGNUM] = 1 \
fixed_regs[PIC_OFFSET_TABLE_REGNUM] \
= call_used_regs[PIC_OFFSET_TABLE_REGNUM] = 1;\
}
#else
#define CONDITIONAL_REGISTER_USAGE \
{ \
if (flag_pic) \
fixed_regs[PIC_OFFSET_TABLE_REGNUM] \
= call_used_regs[PIC_OFFSET_TABLE_REGNUM] = 1;\
}
#endif /* defined SUPPORT_SUN_FPA */