aboutsummaryrefslogtreecommitdiff
path: root/opcodes/d30v-opc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-09-08 13:18:02 +0930
committerAlan Modra <amodra@gmail.com>2021-09-08 22:22:34 +0930
commit733ae98cb8fb0d5653887cfd79aec3cfe5e44846 (patch)
tree98dcd9c74201869ba26ae57e9d6931c3bbd1cf32 /opcodes/d30v-opc.c
parentbeaddc1a805d70131ffbeaee4d8d4ba41b9e5a2e (diff)
downloadgdb-733ae98cb8fb0d5653887cfd79aec3cfe5e44846.zip
gdb-733ae98cb8fb0d5653887cfd79aec3cfe5e44846.tar.gz
gdb-733ae98cb8fb0d5653887cfd79aec3cfe5e44846.tar.bz2
PowerPC64, sanity check r_offset in relocate_section
This hardens the powerpc64 linker code transformations. * elf64-ppc.c (is_8byte_reloc, offset_in_range): New functions. (ppc64_elf_relocate_section): Sanity check r_offset before accessing section contents for various code transformations.
Diffstat (limited to 'opcodes/d30v-opc.c')
0 files changed, 0 insertions, 0 deletions