* elfxx-mips.c (bz_insn_16): Correct opcode mask.
authorMaciej W. Rozycki <macro@linux-mips.org>
Fri, 29 Jul 2011 22:52:21 +0000 (22:52 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Fri, 29 Jul 2011 22:52:21 +0000 (22:52 +0000)
bfd/ChangeLog
bfd/elfxx-mips.c

index 54d926f..a7ee0fe 100644 (file)
@@ -1,5 +1,9 @@
 2011-07-29  Maciej W. Rozycki  <macro@codesourcery.com>
 
+       * elfxx-mips.c (bz_insn_16): Correct opcode mask.
+
+2011-07-29  Maciej W. Rozycki  <macro@codesourcery.com>
+
        * elfxx-mips.c: Adjust comments throughout.
        (mips_elf_relax_delete_bytes): Reshape code.
        (_bfd_mips_elf_relax_section): Remove check for
index 36b881e..b9fbe66 100644 (file)
@@ -11987,7 +11987,7 @@ static const struct opcode_descriptor b_insn_16 =
   { /* "b",    "mD",           */ 0xcc00,     0xfc00 };
 
 static const struct opcode_descriptor bz_insn_16 =
-  { /* "b(eq|ne)z", "md,mE",   */ 0x8c00,     0xac00 };
+  { /* "b(eq|ne)z", "md,mE",   */ 0x8c00,     0xdc00 };
 
 
 /* 32-bit and 16-bit branch EQ and NE zero.  */