bfd_elf_set_group_contents assertion
authorAlan Modra <amodra@gmail.com>
Wed, 17 Aug 2022 07:44:16 +0000 (17:14 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 17 Aug 2022 07:59:42 +0000 (17:29 +0930)
commit7744e3278b9f24d8a1a2dd74f75986bd9060724c
tree1a34f2b9c608340886093320b3cc5bfe9651667a
parent31e43bfffbc585a59d07f21f191317a714476e38
bfd_elf_set_group_contents assertion

objcopy of broken SHT_GROUP sections shouldn't write garbage.

* elf.c (bfd_elf_set_group_contents): If number of entries is
unexpected, fill out section with zeros.
bfd/elf.c