aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/sb1.igen
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2026-01-27 15:30:14 +1030
committerAlan Modra <amodra@gmail.com>2026-01-27 15:54:43 +1030
commitba89097403add5d68424fe542a18ea00d72240df (patch)
tree2b3a23e9b68f7371a79add5e4c8038d3af884fba /sim/mips/sb1.igen
parentde2ac4d00b9a2fd5d69ea1bc1c926d06611a875c (diff)
downloadbinutils-master.zip
binutils-master.tar.gz
binutils-master.tar.bz2
sanity check score reloc functionsHEADmaster
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.
Diffstat (limited to 'sim/mips/sb1.igen')
0 files changed, 0 insertions, 0 deletions