commit | 679dc6e71647adf2719c411de5006358d27978b7 | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Fri Jun 03 12:32:00 2022 +0930 |
committer | Alan Modra <amodra@gmail.com> | Fri Jun 03 12:32:00 2022 +0930 |
tree | 25da4b40d135d9eca6d63690a265f264c7872655 | |
parent | dcefca4019c6f7646d633e71639f6faf4f2702bf [diff] |
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.