diff options
Diffstat (limited to 'bfd/elf32-i860.c')
-rw-r--r-- | bfd/elf32-i860.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-i860.c b/bfd/elf32-i860.c index 8577f58..f3c7210 100644 --- a/bfd/elf32-i860.c +++ b/bfd/elf32-i860.c @@ -74,7 +74,7 @@ i860_howto_pc26_reloc (bfd *abfd ATTRIBUTE_UNUSED, /* Check for target out of range. */ if ((bfd_signed_vma)relocation > (0x3ffffff << 2) - || (bfd_signed_vma)relocation < (-0x4000000 << 2)) + || (bfd_signed_vma)relocation < (-0x4000000 * 4)) return bfd_reloc_outofrange; addr = (bfd_byte *) data + reloc_entry->address; @@ -137,7 +137,7 @@ i860_howto_pc16_reloc (bfd *abfd, /* Check for target out of range. */ if ((bfd_signed_vma)relocation > (0x7fff << 2) - || (bfd_signed_vma)relocation < (-0x8000 << 2)) + || (bfd_signed_vma)relocation < (-0x8000 * 4)) return bfd_reloc_outofrange; addr = (bfd_byte *) data + reloc_entry->address; |