* elf-bfd.h (struct bfd_elf_section_data <group_name>): Replace with
authorAlan Modra <amodra@gmail.com>
Fri, 7 Jun 2002 14:57:11 +0000 (14:57 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 7 Jun 2002 14:57:11 +0000 (14:57 +0000)
commit1126897b369207e6242a9e0f5bbee00c10831ded
treea51cb804cd3ea7de2b31e0884486922384336f4e
parente0076ab3140185bf116c79564b976d455942a984
* elf-bfd.h (struct bfd_elf_section_data <group_name>): Replace with
"group" union.
(elf_group_name): Update.
(elf_group_id): Define.
(bfd_elf_set_group_contents): Declare.
* elf.c (elf_fake_sections): Qualify use of elf_group_name.
(set_group_contents): Rename to bfd_elf_set_group_contents.  Remove
ATTRIBUTE_UNUSED from failedptrarg.  If elf_group_id is set, use
that sym for the signature.
(_bfd_elf_compute_section_file_positions): Don't call
set_group_contents for "ld -r" case.
(swap_out_syms): Use bfd_zalloc.
* elflink.h (elf_link_add_archive_symbols): Likewise.
(NAME(bfd_elf,size_dynamic_sections)): Likewise.
(elf_bfd_final_link): Call bfd_elf_set_group_contents.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf.c
bfd/elflink.h