aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-12-23 23:28:38 +1030
committerAlan Modra <amodra@gmail.com>2016-12-24 00:15:58 +1030
commitb9fc2576a13367070c741c7ea1d364a483eed0e4 (patch)
treef1c929b042a8fb0767322dd277909ec4c8f65c9d /bfd/libbfd.h
parent865422fafaf387745b2979d47b6f448d28e0edb8 (diff)
downloadgdb-b9fc2576a13367070c741c7ea1d364a483eed0e4.zip
gdb-b9fc2576a13367070c741c7ea1d364a483eed0e4.tar.gz
gdb-b9fc2576a13367070c741c7ea1d364a483eed0e4.tar.bz2
Remove "collect" forms of generic linker add symbols functions
Nothing calls them and they were in the way of a bug fix. * linker.c (generic_link_add_symbols): Delete. Merge into.. (_bfd_generic_link_add_symbols): ..here. (generic_link_check_archive_element_no_collect): Delete. (generic_link_check_archive_element_collect): Likewise. (generic_link_add_object_symbols): Remove "collect" param. Update callers. (generic_link_add_symbol_list): Likewise. (generic_link_check_archive_element): Likewise. Call bfd_link_add_symbols rather than generic_link_add_object_symbols. * libbfd-in.h (_bfd_generic_link_add_symbols_collect): Delete. * libbfd.h: Regenerate.
Diffstat (limited to 'bfd/libbfd.h')
-rw-r--r--bfd/libbfd.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/bfd/libbfd.h b/bfd/libbfd.h
index ee85163..30be5dd 100644
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -618,12 +618,6 @@ extern void _bfd_generic_link_hash_table_free
extern bfd_boolean _bfd_generic_link_add_symbols
(bfd *, struct bfd_link_info *);
-/* Generic add symbol routine. This version is used by targets for
- which the linker must collect constructors and destructors by name,
- as the collect2 program does. */
-extern bfd_boolean _bfd_generic_link_add_symbols_collect
- (bfd *, struct bfd_link_info *);
-
/* Generic archive add symbol routine. */
extern bfd_boolean _bfd_generic_link_add_archive_symbols
(bfd *, struct bfd_link_info *,