Another generic ELF target assertion failure
authorAlan Modra <amodra@gmail.com>
Mon, 27 May 2019 00:59:22 +0000 (10:29 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 27 May 2019 04:28:27 +0000 (13:58 +0930)
commitce5aecf87372749a5ec511f218956756aa185d0f
tree9d87598334ae175dbe2319925d2956935fdddf21
parent3d7d6a6ff4678685f86976f08ab4c9c639e262e1
Another generic ELF target assertion failure

After fixing the ld-elf/pr22836-1a segmentation fault we run into an
assertion failure due to the generic ELF target not removing empty
SHT_GROUP sections.  Avoid that.

* elf.c (bfd_elf_set_group_contents): Exit on zero size section.
bfd/ChangeLog
bfd/elf.c