aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1993-04-28 22:05:27 -0600
committerJeff Law <law@gcc.gnu.org>1993-04-28 22:05:27 -0600
commit8381cd4c6b23dd73b3a646fac1dd627783c26a28 (patch)
treeda9386726cd46a560f6de2ce1777f0879861199e
parentf95640ccb712c7b0f27453430368c45f0bbafe3d (diff)
downloadgcc-8381cd4c6b23dd73b3a646fac1dd627783c26a28.zip
gcc-8381cd4c6b23dd73b3a646fac1dd627783c26a28.tar.gz
gcc-8381cd4c6b23dd73b3a646fac1dd627783c26a28.tar.bz2
pa.h (CONDITIONAL_REGISTER_USAGE): %r19 is fixed if flag_pic is true.
* pa.h (CONDITIONAL_REGISTER_USAGE): %r19 is fixed if flag_pic is true. From-SVN: r4268
-rw-r--r--gcc/config/pa/pa.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h
index 3ad5d72..15b099c 100644
--- a/gcc/config/pa/pa.h
+++ b/gcc/config/pa/pa.h
@@ -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