From c088dedf73b494aeea075cd9824206d04cd26632 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Fri, 29 Jul 2011 22:52:21 +0000 Subject: [PATCH] * elfxx-mips.c (bz_insn_16): Correct opcode mask. --- bfd/ChangeLog | 4 ++++ bfd/elfxx-mips.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 54d926f..a7ee0fe 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,9 @@ 2011-07-29 Maciej W. Rozycki + * elfxx-mips.c (bz_insn_16): Correct opcode mask. + +2011-07-29 Maciej W. Rozycki + * elfxx-mips.c: Adjust comments throughout. (mips_elf_relax_delete_bytes): Reshape code. (_bfd_mips_elf_relax_section): Remove check for diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 36b881e..b9fbe66 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -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. */ -- 2.7.4