From f02e226057b4cd3ff035e607ccb296d1a9831829 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 24 Aug 2001 16:36:01 +0000 Subject: [PATCH] Apply H.J.'s patch to revert change to elfxx-target.h Apply my patch to allow SREC as output format. --- include/ChangeLog | 8 ++++++++ include/bfdlink.h | 11 +++++++++++ 2 files changed, 19 insertions(+) diff --git a/include/ChangeLog b/include/ChangeLog index 55f85ad06..72b2311df 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,11 @@ +2001-08-24 H.J. Lu + + * bfdlink.h (bfd_link_hash_table_type): New. The linker hash + table type, bfd_link_generic_hash_table and + bfd_link_elf_hash_table. + (bfd_link_hash_table): Add a new field, type, for the linker + hash table type. + 2001-08-23 Jakub Jelinek * bfdlink.h (struct bfd_link_info): Add combreloc and diff --git a/include/bfdlink.h b/include/bfdlink.h index 1dd284238..bfed980f6 100644 --- a/include/bfdlink.h +++ b/include/bfdlink.h @@ -41,6 +41,15 @@ enum bfd_link_discard discard_l, /* Discard local temporary symbols. */ discard_all /* Discard all locals. */ }; + +/* Describes the type of hash table entry structure being used. + Different hash table structure have different fields and so + support different linking features. */ +enum bfd_link_hash_table_type + { + bfd_link_generic_hash_table, + bfd_link_elf_hash_table + }; /* These are the possible types of an entry in the BFD link hash table. */ @@ -146,6 +155,8 @@ struct bfd_link_hash_table struct bfd_link_hash_entry *undefs; /* Entries are added to the tail of the undefs list. */ struct bfd_link_hash_entry *undefs_tail; + /* The type of the ink hash table. */ + enum bfd_link_hash_table_type type; }; /* Look up an entry in a link hash table. If FOLLOW is true, this