* elflink.c (_bfd_elf_check_kept_section): Test for kept group
authorAlan Modra <amodra@gmail.com>
Fri, 17 Nov 2006 13:55:41 +0000 (13:55 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 17 Nov 2006 13:55:41 +0000 (13:55 +0000)
commitc2370991ed9651b03e1d801252630c18503ec623
tree65d4cf1aafa9c69ca16f2ebfa9de9d1fcc695560
parent9daf3993283211fd4750be1ab6216caffee61c5c
* elflink.c (_bfd_elf_check_kept_section): Test for kept group
section.  Save result of checks in kept_section.
(_bfd_elf_section_already_linked): Tidy.  Correct comments.
Ignore all group member sections.  Handle special matching of
single-member groups against linkonce sections via their group
section.  When such a match is found, set kept_section to the
group member section rather than to the group.
bfd/ChangeLog
bfd/elflink.c