summaryrefslogtreecommitdiff
path: root/bfd/libcoff-in.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/libcoff-in.h')
-rw-r--r--bfd/libcoff-in.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/bfd/libcoff-in.h b/bfd/libcoff-in.h
index 34e71a89447..83775c681b9 100644
--- a/bfd/libcoff-in.h
+++ b/bfd/libcoff-in.h
@@ -265,6 +265,16 @@ struct coff_link_hash_table
struct stab_info stab_info;
};
+struct coff_reloc_cookie
+{
+ struct internal_reloc * rels;
+ struct internal_reloc * rel;
+ struct internal_reloc * relend;
+ struct coff_symbol_struct * symbols; /* Symtab for input bfd. */
+ bfd * abfd;
+ struct coff_link_hash_entry ** sym_hashes;
+};
+
/* Look up an entry in a COFF linker hash table. */
#define coff_link_hash_lookup(table, string, create, copy, follow) \
@@ -562,6 +572,8 @@ extern bfd_boolean _bfd_coff_link_input_bfd
extern bfd_boolean _bfd_coff_reloc_link_order
(bfd *, struct coff_final_link_info *, asection *,
struct bfd_link_order *);
+extern bfd_boolean bfd_coff_gc_sections
+ (bfd *, struct bfd_link_info *);
#define coff_get_section_contents_in_window \