* config/tc-ppc.c (md_apply_fix3): Fix check for lq insns.
authorAlan Modra <amodra@gmail.com>
Tue, 29 Jul 2003 06:48:30 +0000 (06:48 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 29 Jul 2003 06:48:30 +0000 (06:48 +0000)
gas/ChangeLog
gas/config/tc-ppc.c

index 355e3f466abd8d859bbbcb6d281d091bd5af59ce..812e6419093ca37e28a92bb897e27933aba77d18 100644 (file)
@@ -1,3 +1,7 @@
+2003-07-29  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/tc-ppc.c (md_apply_fix3): Fix check for lq insns.
+
 2003-07-28  H.J. Lu  <hongjiu.lu@intel.com>
 
        * config/obj-elf.c (obj_elf_section_type): Also accept "note".
index f3b5472712b10e3c6e402fdc1f8c9cc4c0231c53..162a640f3b2ba44fbb3fe418cfe3f93703851f82 100644 (file)
@@ -5742,7 +5742,7 @@ md_apply_fix3 (fixP, valP, seg)
            mask = 0xfffc;
            /* lq insns reserve the four lsbs.  */
            if ((ppc_cpu & PPC_OPCODE_POWER4) != 0
-               && (val & (0x3f << 26)) == (56 << 26))
+               && (val & (0x3f << 26)) == (56u << 26))
              mask = 0xfff0;
            val |= value & mask;
            if (target_big_endian)