aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/elf32-hppa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c
index 82cb6f3..c2a6ce6 100644
--- a/bfd/elf32-hppa.c
+++ b/bfd/elf32-hppa.c
@@ -1305,7 +1305,7 @@ elf32_hppa_bfd_final_link_relocate (howto, input_bfd, output_bfd,
r_field = e_lrsel;
if (sym_sec->flags & SEC_CODE)
{
- if ((insn & 0xfc) >> 26 == 0xa
+ if ((insn & 0xfc000000) >> 26 == 0xa
&& (insn & 0x03e00000) >> 21 == 0x1b)
insn &= ~0x03e00000;
}