]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
elf.c and elflink.c fixes for commit 68bbe1183379
authorAlan Modra <amodra@gmail.com>
Sat, 5 Oct 2024 01:09:17 +0000 (10:39 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 5 Oct 2024 01:28:37 +0000 (10:58 +0930)
commit389fdfbe0d2aca0af1431ddf34704534dacc48c8
treec6ee448499f9de8f06310a55fe4a7bb56471c4b2
parentc1947f57ee8524b437e32157bc4db7340ecb690b
elf.c and elflink.c fixes for commit 68bbe1183379

Plus some tidies to swap_out_syms.

* elf.c (swap_out_syms): Handle NULL sym name.  Use correct type
for return of _bfd_elf_strtab_add.  Simplify.
* elflink.c (bfd_elf_match_symbols_in_sections): Handle NULL
sym name.
bfd/elf.c
bfd/elflink.c