pr13355, rx typo
Alan Modra
amodra@gmail.com
Thu Feb 16 07:41:00 GMT 2012
Committed.
PR binutils/13355
* elf32-rx.c (elf32_rx_relax_section): Correct width check.
Index: bfd/elf32-rx.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-rx.c,v
retrieving revision 1.15
diff -u -p -r1.15 elf32-rx.c
--- bfd/elf32-rx.c 22 Nov 2011 19:50:36 -0000 1.15
+++ bfd/elf32-rx.c 16 Feb 2012 07:37:57 -0000
@@ -2115,7 +2115,7 @@ elf32_rx_relax_section (bfd *
/* Decodable bits. */
&& (insn[0] & 0xcc) == 0xcc
/* Width. */
- && (insn[0] & 0x30) != 3
+ && (insn[0] & 0x30) != 0x30
/* Register MSBs. */
&& (insn[1] & 0x88) == 0x00)
{
@@ -2219,7 +2219,7 @@ elf32_rx_relax_section (bfd *
/* Decodable bits. */
&& (insn[0] & 0xc3) == 0xc3
/* Width. */
- && (insn[0] & 0x30) != 3
+ && (insn[0] & 0x30) != 0x30
/* Register MSBs. */
&& (insn[1] & 0x88) == 0x00)
{
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list