* arm.h (CONDITIONAL_REGISTER_USAGE): Disable use of LR in Thumb
code.
From-SVN: r73157
+2003-10-31 Richard Earnshaw <rearnsha@arm.com>
+
+ * arm.h (CONDITIONAL_REGISTER_USAGE): Disable use of LR in Thumb
+ code.
+
2003-10-31 Andreas Jaeger <aj@suse.de>,
Zack Weinberg <zack@codesourcery.com>
fixed_regs[regno] = call_used_regs[regno] = 1; \
} \
\
+ /* The link register can be clobbered by any branch insn, \
+ but we have no way to track that at present, so mark \
+ it as unavailable. */ \
+ if (TARGET_THUMB) \
+ fixed_regs[LR_REGNUM] = call_used_regs[LR_REGNUM] = 1; \
+ \
if (TARGET_CIRRUS) \
{ \
for (regno = FIRST_ARM_FP_REGNUM; \