From 18566f5563024b1752986dc2fbd57b87dfd55b59 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 16 Oct 2001 14:27:03 +0000 Subject: [PATCH] * config/tc-m68k.c (m68k_ip): Correct absolute jmp opcodes. --- gas/ChangeLog | 5 +++++ gas/config/tc-m68k.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index b40e5000fbf..a8913d6bc62 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2001-10-16 Alan Modra + + From Andrew Pines + * config/tc-m68k.c (m68k_ip): Correct absolute jmp opcodes. + 2001-10-16 NIIBE Yutaka , Hans-Peter Nilsson diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c index c04eb6ee111..6a7f47dd37f 100644 --- a/gas/config/tc-m68k.c +++ b/gas/config/tc-m68k.c @@ -2573,14 +2573,14 @@ m68k_ip (instring) if (adds (&opP->disp) == 0) { if (the_ins.opcode[0] == 0x6000) /* jbra */ - the_ins.opcode[0] = 0x4EF1; + the_ins.opcode[0] = 0x4EF9; else if (the_ins.opcode[0] == 0x6100) /* jbsr */ - the_ins.opcode[0] = 0x4EB1; + the_ins.opcode[0] = 0x4EB9; else /* jCC */ { the_ins.opcode[0] ^= 0x0100; the_ins.opcode[0] |= 0x0006; - addword (0x4EF1); + addword (0x4EF9); } add_fix ('l', &opP->disp, 0, 0); addword (0); -- 2.30.2