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:40:14 +1030 |
commit | d3ce90d0de48615efeacf98bbd54aa8fe3413722 (patch) | |
tree | db9e526465787ca5cf3219dba12a434a123c908c /bfd/libbfd-in.h | |
parent | c525439b57708cbf0871ebd9a81be5d6016a144b (diff) | |
download | gdb-d3ce90d0de48615efeacf98bbd54aa8fe3413722.zip gdb-d3ce90d0de48615efeacf98bbd54aa8fe3413722.tar.gz gdb-d3ce90d0de48615efeacf98bbd54aa8fe3413722.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 *, |