Fix typo in last change.
[binutils-gdb.git] / bfd / elf32-hppa.c
index 82cb6f361ca6a4534531b9046871091b32781f69..c2a6ce6ce8b364be560f75668a9f3da37ff77b1c 100644 (file)
@@ -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;
        }