diff options
author | Alan Modra <amodra@gmail.com> | 2016-12-23 23:28:38 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-12-24 00:15:58 +1030 |
commit | b9fc2576a13367070c741c7ea1d364a483eed0e4 (patch) | |
tree | f1c929b042a8fb0767322dd277909ec4c8f65c9d /bfd/libbfd-in.h | |
parent | 865422fafaf387745b2979d47b6f448d28e0edb8 (diff) | |
download | gdb-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-in.h')
-rw-r--r-- | bfd/libbfd-in.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/bfd/libbfd-in.h b/bfd/libbfd-in.h index fec1b89..db2f143 100644 --- a/bfd/libbfd-in.h +++ b/bfd/libbfd-in.h @@ -613,12 +613,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 *, |