diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2011-07-29 22:52:21 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2011-07-29 22:52:21 +0000 |
commit | c088dedf73b494aeea075cd9824206d04cd26632 (patch) | |
tree | ddb70dfb19d71bfb32f50e9fb32558d585c11802 | |
parent | 2309ddf22209e1d2ab769dc778d9f764463b8509 (diff) | |
download | gdb-c088dedf73b494aeea075cd9824206d04cd26632.zip gdb-c088dedf73b494aeea075cd9824206d04cd26632.tar.gz gdb-c088dedf73b494aeea075cd9824206d04cd26632.tar.bz2 |
* elfxx-mips.c (bz_insn_16): Correct opcode mask.
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elfxx-mips.c | 2 |
2 files changed, 5 insertions, 1 deletions
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 <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 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. */ |