]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* config/tc-m68k.c (m68k_ip): Correct absolute jmp opcodes.
authorAlan Modra <amodra@gmail.com>
Tue, 16 Oct 2001 14:31:43 +0000 (14:31 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 16 Oct 2001 14:31:43 +0000 (14:31 +0000)
gas/ChangeLog
gas/config/tc-m68k.c

index 1079c792e24c9451dc28509b52406a6847236770..03a82109ca1af29ae0b1dd9ffe8afc96e604d0c7 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-16  Alan Modra  <amodra@bigpond.net.au>
+
+       From Andrew Pines <apines@cosmodog.com>
+       * config/tc-m68k.c (m68k_ip): Correct absolute jmp opcodes.
+
 2001-10-05  Alan Modra  <amodra@bigpond.net.au>
 
        * config/tc-i386.c (parse_register): If not producing code for
index 24e1e3f98688e3b4b0243831701f60a725fb53d3..6fe16a794e58962a71850fc1dc30052d3276ea0d 100644 (file)
@@ -2579,14 +2579,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);