aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-ppc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-07-29 06:48:30 +0000
committerAlan Modra <amodra@gmail.com>2003-07-29 06:48:30 +0000
commit77a6138a461f33fd4680688127ea72615af4892c (patch)
tree1303b4a42cfdeb824b78198fa6883735c811423f /gas/config/tc-ppc.c
parent494dac0c9f1bb90c8b2886eb14554579ece202d5 (diff)
downloadgdb-77a6138a461f33fd4680688127ea72615af4892c.zip
gdb-77a6138a461f33fd4680688127ea72615af4892c.tar.gz
gdb-77a6138a461f33fd4680688127ea72615af4892c.tar.bz2
* config/tc-ppc.c (md_apply_fix3): Fix check for lq insns.
Diffstat (limited to 'gas/config/tc-ppc.c')
-rw-r--r--gas/config/tc-ppc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index f3b5472..162a640 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -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)