* elfxx-target.h (bfd_elfNN_bfd_link_add_symbols): Define.
authorAlan Modra <amodra@gmail.com>
Fri, 26 Mar 2004 05:55:15 +0000 (05:55 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 26 Mar 2004 05:55:15 +0000 (05:55 +0000)
commit4ad4eba5b2edf00828f0eeb8db8fabc33da4f9d1
treec75f2b3027f0ba8f89748059fafd29c6ea8dd02e
parent11c251f45d8f69827982b11459dc186811be27f3
* elfxx-target.h (bfd_elfNN_bfd_link_add_symbols): Define.
* elf-bfd.h (_bfd_elf_link_add_archive_symbols): Delete.
(_bfd_elf_sort_symbol, _bfd_elf_add_dt_needed_tag): Delete.
(_bfd_elf_finalize_dynstr, bfd_elf32_bfd_link_add_symbols): Delete.
(bfd_elf64_bfd_link_add_symbols): Delete.
(bfd_elf_link_add_symbols): Declare.
* elfcode.h (elf_bfd_link_add_symbols): Delete.
* elflink.c: Include safe-ctype.h.
(elf_add_dt_needed_tag): Rename from _bfd_elf_add_dt_needed_tag,
make static.
(elf_sort_symbol): Rename from _bfd_elf_sort_symbol, make static.
(elf_finalize_dynstr): Rename from _bfd_elf_finalize_dynstr, make
static.
(elf_link_add_archive_symbols): Rename from
_bfd_elf_link_add_archive_symbols, make static.
(elf_link_add_object_symbols): New function.  Corresponding
elflink.h function converted to use elf_size_info.
(bfd_elf_link_add_symbols): Likewise.
(bfd_elf_size_dynamic_sections): Adjust.
* elflink.h (elf_bfd_link_add_symbols): Delete.
(elf_link_add_object_symbols): Delete.
* elf32-gen.c (elf32_generic_link_add_symbols): Call
bfd_elf_link_add_symbols.
* elf64-gen.c (elf64_generic_link_add_symbols): Likewise.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf32-gen.c
bfd/elf64-gen.c
bfd/elfcode.h
bfd/elflink.c
bfd/elflink.h
bfd/elfxx-target.h