diff options
Diffstat (limited to 'bfd/libcoff.h')
-rw-r--r-- | bfd/libcoff.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bfd/libcoff.h b/bfd/libcoff.h index 1a8d9307734..c5d15a13f7b 100644 --- a/bfd/libcoff.h +++ b/bfd/libcoff.h @@ -294,6 +294,9 @@ struct coff_link_hash_table struct bfd_link_hash_table root; /* A pointer to information used to link stabs in sections. */ struct stab_info stab_info; + /* Hash table that maps undecorated names to their respective + * decorated coff_link_hash_entry as found in fixup_stdcalls */ + struct bfd_hash_table decoration_hash; }; struct coff_reloc_cookie @@ -325,6 +328,12 @@ struct coff_reloc_cookie #define coff_hash_table(p) ((struct coff_link_hash_table *) ((p)->hash)) +struct decoration_hash_entry +{ + struct bfd_hash_entry root; + struct bfd_link_hash_entry *decorated_link; +}; + /* Functions in coffgen.c. */ extern bfd_cleanup coff_object_p (bfd *); @@ -572,6 +581,8 @@ struct coff_section_alignment_entry unsigned int alignment_power; }; +extern struct bfd_hash_entry *_decoration_hash_newfunc + (struct bfd_hash_entry *, struct bfd_hash_table *, const char *); extern struct bfd_hash_entry *_bfd_coff_link_hash_newfunc (struct bfd_hash_entry *, struct bfd_hash_table *, const char *); extern bool _bfd_coff_link_hash_table_init |