Lack of SHF_GROUP sections result in ld segfault
authorAlan Modra <amodra@gmail.com>
Sat, 27 Aug 2016 00:13:42 +0000 (09:43 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 27 Aug 2016 00:14:22 +0000 (09:44 +0930)
commit53720c495c7c25f9b0f4bfce3269c6c8a7696522
tree57e5b2afba5e32e97a23e72a3c7c50f1b71257c6
parent8a9e8e72fe88095043d16f8a56b5a1e150ee288b
Lack of SHF_GROUP sections result in ld segfault

PR 20520
* elf.c (_bfd_elf_setup_sections): Check that SHT_GROUP sections
have corresponding SHF_GROUP sections.
(bfd_elf_set_group_contents): Comment.
bfd/ChangeLog
bfd/elf.c