sanity check score reloc functions
Some of these already did some sanity checking, but
bfd_reloc_offset_in_range is better since it takes into account the
relocation field size too.
* elf32-score.c (score_elf_hi16_reloc, score_elf_lo16_reloc),
(score_elf_gprel15_with_gp, gprel32_with_gp),
(score_elf_got_lo16_reloc): Use bfd_reloc_offset_in_range to
sanity check reloc addresses.
* elf32-score7.c (score_elf_hi16_reloc, score_elf_lo16_reloc),
(score_elf_gprel15_with_gp, gprel32_with_gp),
(score_elf_got_lo16_reloc): Likewise.
2 files changed