Commit de5529c8 by David Edelsohn

Use Pmode

From-SVN: r11084
parent 0a90c336
...@@ -3943,20 +3943,20 @@ rs6000_initialize_trampoline (addr, fnaddr, cxt) ...@@ -3943,20 +3943,20 @@ rs6000_initialize_trampoline (addr, fnaddr, cxt)
/* Under AIX, just build the 3 word function descriptor */ /* Under AIX, just build the 3 word function descriptor */
case ABI_AIX: case ABI_AIX:
emit_move_insn (gen_rtx (MEM, SImode, emit_move_insn (gen_rtx (MEM, Pmode,
memory_address (SImode, (addr))), memory_address (Pmode, (addr))),
gen_rtx (MEM, SImode, gen_rtx (MEM, Pmode,
memory_address (SImode, (fnaddr)))); memory_address (Pmode, (fnaddr))));
emit_move_insn (gen_rtx (MEM, SImode, emit_move_insn (gen_rtx (MEM, Pmode,
memory_address (SImode, memory_address (Pmode,
plus_constant ((addr), 4))), plus_constant ((addr), 4))),
gen_rtx (MEM, SImode, gen_rtx (MEM, Pmode,
memory_address (SImode, memory_address (Pmode,
plus_constant ((fnaddr), 4)))); plus_constant ((fnaddr), 4))));
emit_move_insn (gen_rtx (MEM, SImode, emit_move_insn (gen_rtx (MEM, Pmode,
memory_address (SImode, memory_address (Pmode,
plus_constant ((addr), 8))), plus_constant ((addr), 8))),
force_reg (SImode, (cxt))); force_reg (Pmode, (cxt)));
break; break;
/* Under V.4/eabi, update the two words after the bl to have the real /* Under V.4/eabi, update the two words after the bl to have the real
......
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