This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed] MIPS: Correct microMIPS branch opcode mask
- From: "Maciej W. Rozycki" <macro at codesourcery dot com>
- To: Richard Sandiford <rdsandiford at googlemail dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 29 Jul 2011 23:52:16 +0100 (BST)
- Subject: [committed] MIPS: Correct microMIPS branch opcode mask
Hi,
I have committed this change now too.
2011-07-29 Maciej W. Rozycki <macro@codesourcery.com>
bfd/
* elfxx-mips.c (bz_insn_16): Correct opcode mask.
Maciej
binutils-umips-bz16.diff
Index: binutils-fsf-trunk-quilt/bfd/elfxx-mips.c
===================================================================
--- binutils-fsf-trunk-quilt.orig/bfd/elfxx-mips.c 2011-07-29 21:51:47.000000000 +0100
+++ binutils-fsf-trunk-quilt/bfd/elfxx-mips.c 2011-07-29 21:22:12.000000000 +0100
@@ -11987,7 +11987,7 @@ static const struct opcode_descriptor b_
{ /* "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. */