aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-09-23 10:14:20 +0930
committerAlan Modra <amodra@gmail.com>2019-09-23 10:27:22 +0930
commit640197ac27920a9f0a23283a575dc71f74e8b8ab (patch)
treed19442f25491344755a835f82c77bee198a35f50 /include
parent0ba9378a2ad073524f20e9637dac8369ef06c639 (diff)
downloadgdb-640197ac27920a9f0a23283a575dc71f74e8b8ab.zip
gdb-640197ac27920a9f0a23283a575dc71f74e8b8ab.tar.gz
gdb-640197ac27920a9f0a23283a575dc71f74e8b8ab.tar.bz2
linker bfd.h tidy
bfd/ * bfd-in.h (bfd_symbol, bfd_section_already_linked), (bfd_elf_version_tree): Delete forward declarations. Move other forward decls and remaining elf function decl later. (bfd_section_already_linked_table_init), (bfd_section_already_linked_table_free), (_bfd_handle_already_linked, _bfd_nearby_section), (_bfd_fix_excluded_sec_syms): Move to bfdlink.h. include/ * bfdlink.h (struct bfd_section_already_linked): Forward declare. (bfd_section_already_linked_table_init), (bfd_section_already_linked_table_free), (_bfd_handle_already_linked, _bfd_nearby_section), (_bfd_fix_excluded_sec_syms): Declare.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog8
-rw-r--r--include/bfdlink.h14
2 files changed, 22 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 580eeb0..8540542 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,5 +1,13 @@
2019-09-23 Alan Modra <amodra@gmail.com>
+ * bfdlink.h (struct bfd_section_already_linked): Forward declare.
+ (bfd_section_already_linked_table_init),
+ (bfd_section_already_linked_table_free),
+ (_bfd_handle_already_linked, _bfd_nearby_section),
+ (_bfd_fix_excluded_sec_syms): Declare.
+
+2019-09-23 Alan Modra <amodra@gmail.com>
+
* bfdlink.h (enum notice_asneeded_action): Define.
2019-09-17 Maxim Blinov <maxim.blinov@embecosm.com>
diff --git a/include/bfdlink.h b/include/bfdlink.h
index bb7909a..68fc17f 100644
--- a/include/bfdlink.h
+++ b/include/bfdlink.h
@@ -858,6 +858,20 @@ struct bfd_link_order_reloc
/* Allocate a new link_order for a section. */
extern struct bfd_link_order *bfd_new_link_order (bfd *, asection *);
+struct bfd_section_already_linked;
+
+extern bfd_boolean bfd_section_already_linked_table_init (void);
+extern void bfd_section_already_linked_table_free (void);
+extern bfd_boolean _bfd_handle_already_linked
+ (struct bfd_section *, struct bfd_section_already_linked *,
+ struct bfd_link_info *);
+
+extern struct bfd_section *_bfd_nearby_section
+ (bfd *, struct bfd_section *, bfd_vma);
+
+extern void _bfd_fix_excluded_sec_syms
+ (bfd *, struct bfd_link_info *);
+
/* These structures are used to describe version information for the
ELF linker. These structures could be manipulated entirely inside
BFD, but it would be a pain. Instead, the regular linker sets up