From 0ad989f9fdcb839be3203f8530c03f0bbc9d195f Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sun, 29 Feb 2004 06:11:52 +0000 Subject: 2004-02-28 H.J. Lu * elf-bfd.h (_bfd_elf_link_add_archive_symbols): New prototype. * elflink.h (is_global_data_symbol_definition): Moved to elflink.c. (elf_link_is_defined_archive_symbol): Likewise. (elf_link_add_archive_symbols): Likewise. Renamed to _bfd_elf_link_add_archive_symbols. * elflink.c (elf_link_is_defined_archive_symbol): Get the size of ELF symbol table entry from backend. (_bfd_elf_link_add_archive_symbols): Call bfd_link_add_symbols instead of elf_link_add_object_symbols. --- bfd/elf-bfd.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bfd/elf-bfd.h') diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 3e861ea..5f4bcd8 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -1547,6 +1547,9 @@ extern bfd_boolean _bfd_elf_dynamic_symbol_p extern bfd_boolean _bfd_elf_symbol_refs_local_p (struct elf_link_hash_entry *, struct bfd_link_info *, bfd_boolean); +extern bfd_boolean _bfd_elf_link_add_archive_symbols + (bfd *, struct bfd_link_info *); + extern const bfd_target *bfd_elf32_object_p (bfd *); extern const bfd_target *bfd_elf32_core_file_p -- cgit v1.1