summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorpkoning <pkoning@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-29 15:29:51 +0000
committerpkoning <pkoning@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-29 15:29:51 +0000
commit4dce1bf89c4eda777896ae58931dfe0b9fbec4d9 (patch)
tree7ad21904379806856571c1252895bc65c4804d01 /gcc/config
parentd16566579cf1b541813986dc43183428789ad43c (diff)
downloadgcc-4dce1bf89c4eda777896ae58931dfe0b9fbec4d9.tar.gz
* config/pdp11/pdp11.c (pdp11_trampoline_init): Correct
instruction encoding. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166063 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/pdp11/pdp11.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/pdp11/pdp11.c b/gcc/config/pdp11/pdp11.c
index c586b9ccf6d..6a5e8ea1cf9 100644
--- a/gcc/config/pdp11/pdp11.c
+++ b/gcc/config/pdp11/pdp11.c
@@ -1908,8 +1908,8 @@ pdp11_function_value_regno_p (const unsigned int regno)
the following should work for shared I/D:
- MV #STATIC, $4 0x940Y 0x0000 <- STATIC; Y = STATIC_CHAIN_REGNUM
- JMP FUNCTION 0x0058 0x0000 <- FUNCTION
+ MOV #STATIC, $4 01270Y 0x0000 <- STATIC; Y = STATIC_CHAIN_REGNUM
+ JMP @#FUNCTION 000137 0x0000 <- FUNCTION
*/
static void
@@ -1921,11 +1921,11 @@ pdp11_trampoline_init (rtx m_tramp, tree fndecl, rtx chain_value)
gcc_assert (!TARGET_SPLIT);
mem = adjust_address (m_tramp, HImode, 0);
- emit_move_insn (mem, GEN_INT (0x9400+STATIC_CHAIN_REGNUM));
+ emit_move_insn (mem, GEN_INT (012700+STATIC_CHAIN_REGNUM));
mem = adjust_address (m_tramp, HImode, 2);
emit_move_insn (mem, chain_value);
mem = adjust_address (m_tramp, HImode, 4);
- emit_move_insn (mem, GEN_INT (0x0058));
+ emit_move_insn (mem, GEN_INT (000137));
emit_move_insn (mem, fnaddr);
}