PR binutils/13355
authorAlan Modra <amodra@gmail.com>
Thu, 16 Feb 2012 07:40:23 +0000 (07:40 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 16 Feb 2012 07:40:23 +0000 (07:40 +0000)
* elf32-rx.c (elf32_rx_relax_section): Correct width check.

bfd/ChangeLog
bfd/elf32-rx.c

index 0a53fad026b255d5242581b4edbcb69e3a837b88..56d2a55b7fbf0711881c1563130880a6d8f4b46a 100644 (file)
@@ -1,3 +1,8 @@
+2012-02-16  Alan Modra  <amodra@gmail.com>
+
+       PR binutils/13355
+       * elf32-rx.c (elf32_rx_relax_section): Correct width check.
+
 2012-02-13  Richard Henderson  <rth@redhat.com>
 
        PR ld/13621
index 0ceed858a4e0e9928f17bc23a07f02d0712ac49a..23e9a74140df73c01cd069fd9853e76d05d640a9 100644 (file)
@@ -2115,7 +2115,7 @@ elf32_rx_relax_section (bfd *                  abfd,
                   /* 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 *                  abfd,
                   /* Decodable bits.  */
                   && (insn[0] & 0xc3) == 0xc3
                   /* Width.  */
-                  && (insn[0] & 0x30) != 3
+                  && (insn[0] & 0x30) != 0x30
                   /* Register MSBs.  */
                   && (insn[1] & 0x88)  == 0x00)
            {
This page took 0.027587 seconds and 4 git commands to generate.