Commit ee05ef56 by Andrew Pinski Committed by Andrew Pinski

re PR target/31364 (secureplt breaks bootstrap)

2007-03-31  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR target/31364
        * config/rs6000/rs6000.md (call): Convert to LR hard reg for
        secureplt.
        (call_value): Likewise.

From-SVN: r123390
parent 232c4925
2007-03-31 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR target/31364
* config/rs6000/rs6000.md (call): Convert to LR hard reg for
secureplt.
(call_value): Likewise.
2007-03-31 Wolfgang Bangerth <bangerth@dealii.org> 2007-03-31 Wolfgang Bangerth <bangerth@dealii.org>
Manuel Lopez-Ibanez <manu@gcc.gnu.org> Manuel Lopez-Ibanez <manu@gcc.gnu.org>
......
...@@ -10715,7 +10715,9 @@ ...@@ -10715,7 +10715,9 @@
gen_rtx_MEM (SImode, operands[0]), gen_rtx_MEM (SImode, operands[0]),
operands[1]), operands[1]),
gen_rtx_USE (VOIDmode, operands[2]), gen_rtx_USE (VOIDmode, operands[2]),
gen_rtx_CLOBBER (VOIDmode, gen_rtx_SCRATCH (SImode))); gen_rtx_CLOBBER (VOIDmode,
gen_rtx_REG (Pmode,
LINK_REGISTER_REGNUM)));
call = emit_call_insn (gen_rtx_PARALLEL (VOIDmode, tmp)); call = emit_call_insn (gen_rtx_PARALLEL (VOIDmode, tmp));
use_reg (&CALL_INSN_FUNCTION_USAGE (call), pic_offset_table_rtx); use_reg (&CALL_INSN_FUNCTION_USAGE (call), pic_offset_table_rtx);
DONE; DONE;
...@@ -10788,7 +10790,9 @@ ...@@ -10788,7 +10790,9 @@
operands[1]), operands[1]),
operands[2])), operands[2])),
gen_rtx_USE (VOIDmode, operands[3]), gen_rtx_USE (VOIDmode, operands[3]),
gen_rtx_CLOBBER (VOIDmode, gen_rtx_SCRATCH (SImode))); gen_rtx_CLOBBER (VOIDmode,
gen_rtx_REG (Pmode,
LINK_REGISTER_REGNUM)));
call = emit_call_insn (gen_rtx_PARALLEL (VOIDmode, tmp)); call = emit_call_insn (gen_rtx_PARALLEL (VOIDmode, tmp));
use_reg (&CALL_INSN_FUNCTION_USAGE (call), pic_offset_table_rtx); use_reg (&CALL_INSN_FUNCTION_USAGE (call), pic_offset_table_rtx);
DONE; DONE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment