pa.h (CONDITIONAL_REGISTER_USAGE): %r19 is fixed if flag_pic is true.
authorJeff Law <law@gcc.gnu.org>
Thu, 29 Apr 1993 04:05:27 +0000 (22:05 -0600)
committerJeff Law <law@gcc.gnu.org>
Thu, 29 Apr 1993 04:05:27 +0000 (22:05 -0600)
* pa.h (CONDITIONAL_REGISTER_USAGE): %r19 is fixed
if flag_pic is true.

From-SVN: r4268

gcc/config/pa/pa.h

index 3ad5d72ee6417e49ee565a11bdf2fa0e757c6644..15b099c936f7009cb3ff9ebc37d33fda1740a81d 100644 (file)
@@ -352,6 +352,8 @@ 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;   \
 }
 
 /* Allocated the call used registers first.  This should minimize