From: Maciej W. Rozycki Date: Fri, 29 Jul 2011 22:52:21 +0000 (+0000) Subject: * elfxx-mips.c (bz_insn_16): Correct opcode mask. X-Git-Tag: sid-snapshot-20110801~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c088dedf73b494aeea075cd9824206d04cd26632;p=platform%2Fupstream%2Fbinutils.git * elfxx-mips.c (bz_insn_16): Correct opcode mask. --- 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. */