diff options
author | Nick Clifton <nickc@redhat.com> | 2001-08-24 16:36:04 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-08-24 16:36:04 +0000 |
commit | 8ea2e4bd701102e0d30274c3c37f1ff60ccb3f1d (patch) | |
tree | c90e9fae26746838533c88cacda0460632ea0959 /include | |
parent | 1ae8b3d2a04d1064a403ce6adf997831e1a55300 (diff) | |
download | gdb-8ea2e4bd701102e0d30274c3c37f1ff60ccb3f1d.zip gdb-8ea2e4bd701102e0d30274c3c37f1ff60ccb3f1d.tar.gz gdb-8ea2e4bd701102e0d30274c3c37f1ff60ccb3f1d.tar.bz2 |
Apply H.J.'s patch to revert change to elfxx-target.h
Apply my patch to allow SREC as output format.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 8 | ||||
-rw-r--r-- | include/bfdlink.h | 11 |
2 files changed, 19 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 55f85ad..72b2311 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,11 @@ +2001-08-24 H.J. Lu <hjl@gnu.org> + + * 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 <jakub@redhat.com> * bfdlink.h (struct bfd_link_info): Add combreloc and diff --git a/include/bfdlink.h b/include/bfdlink.h index 1dd2842..bfed980 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 |