diff options
author | Alan Modra <amodra@gmail.com> | 2024-08-10 08:41:16 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2024-08-10 10:28:32 +0930 |
commit | ec8f5671b4e70806fe3053636426a8d179dfef55 (patch) | |
tree | ec122d4f0c25cca1cc5fb5c2abee4b6c99e8595b /gdb/make-target-delegates.py | |
parent | e34f53c5e6f3f2367fe1588b5a38954a76fec253 (diff) | |
download | gdb-ec8f5671b4e70806fe3053636426a8d179dfef55.zip gdb-ec8f5671b4e70806fe3053636426a8d179dfef55.tar.gz gdb-ec8f5671b4e70806fe3053636426a8d179dfef55.tar.bz2 |
PR32067, ld -Wl,--oformat,binary crash in _bfd_elf_link_keep_memory
The direct fix for this segfault is to test for a non-NULL bed in
_bfd_elf_link_keep_memory, but also there isn't much point in running
code for LTO if the output is binary.
PR 32067
* elflink.c (_bfd_elf_link_keep_memory): Test for non-NULL bed.
(elf_link_add_object_symbols): Don't run the loop setting
non_ir_ref_regular if the output hash table is not ELF.
Diffstat (limited to 'gdb/make-target-delegates.py')
0 files changed, 0 insertions, 0 deletions