diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/sh/sh.md | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 63caf1d..7e810c5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-11-18 Richard Sandiford <rsandifo@redhat.com> + + * config/sh/sh.md (initialize_trampoline): Do not force the + trampoline address into R0_REGS here. + 2002-11-17 Kazu Hirata <kazu@cs.umass.edu> * df.c: Fix formatting. diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 95b1406..c945496 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -3572,9 +3572,8 @@ { rtx sfun, tramp; + tramp = force_reg (Pmode, operands[0]); sfun = force_reg (Pmode, gen_rtx_SYMBOL_REF (Pmode, \"__init_trampoline\")); - tramp = gen_rtx_REG (SImode, R0_REG); - emit_move_insn (tramp, operands[0]); emit_move_insn (gen_rtx_REG (SImode, R2_REG), operands[1]); emit_move_insn (gen_rtx_REG (SImode, R3_REG), operands[2]); |
