]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR31872, Segfault in objdump (elf_slurp_reloc_table_from_section)
authorAlan Modra <amodra@gmail.com>
Mon, 10 Jun 2024 23:52:49 +0000 (09:22 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 11 Jun 2024 03:13:06 +0000 (12:43 +0930)
commitb20ab53f81db7eefa0db00d14f06c04527ac324c
treec073fbf3e8f6ef93df1409450c6a416c8d5f0e14
parent39071d57ab2048685663092750755b1154d23a8c
PR31872, Segfault in objdump (elf_slurp_reloc_table_from_section)

This one was triggered by trying to dump an AMDGPU object.
elf64-amdgcn.c lacks support for objdump relocation handling.

PR 31872
* elfcode.h (elf_slurp_reloc_table_from_section): Don't segfault
on NULL elf_info_to_howto_rel.
bfd/elfcode.h