* elf-bfd.h (struct bfd_elf_section_data <group_name>): Replace with
commitf14a1d67f4bd7484933ab9d17ee4b94723147bb4
authorAlan Modra <amodra@bigpond.net.au>
Fri, 7 Jun 2002 14:57:11 +0000 (7 14:57 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Fri, 7 Jun 2002 14:57:11 +0000 (7 14:57 +0000)
tree12589f752d6abc3106c1b4aa9b773141f32f3421
parentfb60abbd1f2ec95aa576eb8bfdbbc704dde9a471
* 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