(CONDITIONAL_REGISTER_USAGE): Don't mark pic reg as fixed.
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 6 Jun 1995 18:58:13 +0000 (14:58 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 6 Jun 1995 18:58:13 +0000 (14:58 -0400)
From-SVN: r9889

gcc/config/m68k/m68k.h

index 37ea244bde811b60fff9c35d084f670cd8118a03..59128b70426c34fbda5fda38be0dc78870d908d3 100644 (file)
@@ -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 */