m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA case.
authorJeffrey A Law <law@cygnus.com>
Mon, 28 Jun 1999 05:13:02 +0000 (05:13 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 28 Jun 1999 05:13:02 +0000 (23:13 -0600)
        * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
        case.  Also make the PIC register call_used.

From-SVN: r27809

gcc/ChangeLog
gcc/config/m68k/m68k.h

index d3aca48cbecd5764ae3fec5ba79cd7f9306313f4..ca4d2ca2e95b625736928d208735e7ec587ce921 100644 (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.
        
index 1ec0850d36cb0e2dd70c7ba3c6b7b3a54717c5f8..13926c1f1041ae13d58b0c3112ef52b1537f0f64 100644 (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 */