From 77a6138a461f33fd4680688127ea72615af4892c Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 29 Jul 2003 06:48:30 +0000 Subject: [PATCH] * config/tc-ppc.c (md_apply_fix3): Fix check for lq insns. --- gas/ChangeLog | 4 ++++ gas/config/tc-ppc.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 355e3f466ab..812e6419093 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2003-07-29 Jakub Jelinek + + * config/tc-ppc.c (md_apply_fix3): Fix check for lq insns. + 2003-07-28 H.J. Lu * config/obj-elf.c (obj_elf_section_type): Also accept "note". diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index f3b5472712b..162a640f3b2 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) -- 2.30.2