Commit 44e3d967 by Jeffrey A Law Committed by Jeff Law

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
parent 8945f887
Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com) 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.h (FINALIZE_PIC): Delete.
* m68k.c (finalize_pic): Delete. * m68k.c (finalize_pic): Delete.
......
...@@ -457,7 +457,15 @@ extern int target_flags; ...@@ -457,7 +457,15 @@ extern int target_flags;
fixed_regs[i] = call_used_regs[i] = 1; \ fixed_regs[i] = call_used_regs[i] = 1; \
} \ } \
if (flag_pic) \ 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 */ #endif /* defined SUPPORT_SUN_FPA */
......
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