aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-value.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-08-19 17:34:03 +0930
committerAlan Modra <amodra@gmail.com>2019-08-19 20:38:51 +0930
commit903b777ddeb4c11a7de12cab59124e777614edec (patch)
tree590cb0f578622b2f1d643a3d93c7360ce7a0bbc8 /gdb/python/py-value.c
parent72c03e30ae783a5f38a8c124588a4536ae06e6ef (diff)
downloadbinutils-903b777ddeb4c11a7de12cab59124e777614edec.zip
binutils-903b777ddeb4c11a7de12cab59124e777614edec.tar.gz
binutils-903b777ddeb4c11a7de12cab59124e777614edec.tar.bz2
PowerPC64 ha/lo insn checks
These are done in ppc64_elf_edit_toc, which now also garbage collects unused GOT entries. The checks for legitimate instructions weren't being done for the GOT relocs, unless the file also happened to have a toc section. * elf64-ppc.c (struct ppc64_elf_obj_tdata): Rename has_gotrel to has_optrel. (struct _ppc64_elf_section_data): Likewise. (ppc64_elf_check_relocs): Set has_optrel for more relocs. (ppc64_elf_edit_toc): Do ha/lo insn checks in GOT loop rather than TOC loop. Check PLT16 insns too.
Diffstat (limited to 'gdb/python/py-value.c')
0 files changed, 0 insertions, 0 deletions