aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-03-26 05:55:15 +0000
committerAlan Modra <amodra@gmail.com>2004-03-26 05:55:15 +0000
commit4ad4eba5b2edf00828f0eeb8db8fabc33da4f9d1 (patch)
treec75f2b3027f0ba8f89748059fafd29c6ea8dd02e /bfd/elf-bfd.h
parent11c251f45d8f69827982b11459dc186811be27f3 (diff)
downloadgdb-4ad4eba5b2edf00828f0eeb8db8fabc33da4f9d1.zip
gdb-4ad4eba5b2edf00828f0eeb8db8fabc33da4f9d1.tar.gz
gdb-4ad4eba5b2edf00828f0eeb8db8fabc33da4f9d1.tar.bz2
* 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.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index c2cd537..6b7730a 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -1544,9 +1544,6 @@ 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
@@ -1558,8 +1555,6 @@ extern int bfd_elf32_core_file_failing_signal
extern bfd_boolean bfd_elf32_core_file_matches_executable_p
(bfd *, bfd *);
-extern bfd_boolean bfd_elf32_bfd_link_add_symbols
- (bfd *, struct bfd_link_info *);
extern bfd_boolean bfd_elf32_bfd_final_link
(bfd *, struct bfd_link_info *);
@@ -1604,8 +1599,6 @@ extern int bfd_elf64_core_file_failing_signal
(bfd *);
extern bfd_boolean bfd_elf64_core_file_matches_executable_p
(bfd *, bfd *);
-extern bfd_boolean bfd_elf64_bfd_link_add_symbols
- (bfd *, struct bfd_link_info *);
extern bfd_boolean bfd_elf64_bfd_final_link
(bfd *, struct bfd_link_info *);
@@ -1640,14 +1633,10 @@ extern void bfd_elf64_write_relocs
extern bfd_boolean bfd_elf64_slurp_reloc_table
(bfd *, asection *, asymbol **, bfd_boolean);
+extern bfd_boolean bfd_elf_link_add_symbols
+ (bfd *, struct bfd_link_info *);
extern bfd_boolean _bfd_elf_add_dynamic_entry
(struct bfd_link_info *, bfd_vma, bfd_vma);
-extern int _bfd_elf_add_dt_needed_tag
- (struct bfd_link_info *, const char *, bfd_boolean);
-extern int _bfd_elf_sort_symbol
- (const void *, const void *);
-extern bfd_boolean _bfd_elf_finalize_dynstr
- (bfd *, struct bfd_link_info *);
#define bfd_elf32_link_record_dynamic_symbol \
_bfd_elf_link_record_dynamic_symbol