segv in coff_aarch64_addr32nb_reloc
authorAlan Modra <amodra@gmail.com>
Thu, 26 Jan 2023 07:55:05 +0000 (18:25 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 26 Jan 2023 21:48:45 +0000 (08:18 +1030)
commitc37de2981558eb7ba4aa473ab214d8f2fb0c9876
tree2afbb5120bcebb5a952c1fd5230bc60c48ff5c43
parent4707199bd760f26cbc32614dd9f7c6ed7d2efdda
segv in coff_aarch64_addr32nb_reloc

* coff-aarch64.c (coff_aarch64_addr32nb_reloc): When output_bfd
is NULL (which it is for objdump -W) get the output bfd via the
input section.
bfd/coff-aarch64.c