diff options
author | Alan Modra <amodra@gmail.com> | 2022-06-03 12:32:00 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-06-03 12:32:00 +0930 |
commit | 679dc6e71647adf2719c411de5006358d27978b7 (patch) | |
tree | 25da4b40d135d9eca6d63690a265f264c7872655 /gdb/python | |
parent | dcefca4019c6f7646d633e71639f6faf4f2702bf (diff) | |
download | gdb-679dc6e71647adf2719c411de5006358d27978b7.zip gdb-679dc6e71647adf2719c411de5006358d27978b7.tar.gz gdb-679dc6e71647adf2719c411de5006358d27978b7.tar.bz2 |
asan: mips_gprel_reloc segfault
Not just the undefined section has a NULL owner, the absolute section
has too. Which means we can't find output_bfd for __gp. Also, may as
well test directly for output_bfd == NULL.
* coff-mips.c (mips_gprel_reloc): Don't segfault on any of
bfd_is_const_section sections.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions