diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2004-02-29 06:11:52 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2004-02-29 06:11:52 +0000 |
commit | 0ad989f9fdcb839be3203f8530c03f0bbc9d195f (patch) | |
tree | 6ecacac7bd354563f281088f18a9fb523472dfe0 /bfd/elf-bfd.h | |
parent | 168efedae1feed305d83139be2a780609a89893b (diff) | |
download | gdb-0ad989f9fdcb839be3203f8530c03f0bbc9d195f.zip gdb-0ad989f9fdcb839be3203f8530c03f0bbc9d195f.tar.gz gdb-0ad989f9fdcb839be3203f8530c03f0bbc9d195f.tar.bz2 |
2004-02-28 H.J. Lu <hongjiu.lu@intel.com>
* 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.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |