* elfxx-ia64.c: Include objalloc.h, hashtab.h.
authorJakub Jelinek <jakub@redhat.com>
Thu, 30 Oct 2003 14:41:37 +0000 (14:41 +0000)
committerJakub Jelinek <jakub@redhat.com>
Thu, 30 Oct 2003 14:41:37 +0000 (14:41 +0000)
commit0aa92b58af84bdd4b2c41e617e08cf48e4870db6
treed78bfbc8d0f48f344349e1f3f6859d9a36ce3432
parente69f2d21940833b10a83f2483981133631efa112
* elfxx-ia64.c: Include objalloc.h, hashtab.h.
(struct elfNN_ia64_local_hash_entry): Remove root. Add id and r_sym
fields.
(struct elfNN_ia64_local_hash_table): Remove.
(struct elfNN_ia64_link_hash_table): Change loc_hash_table's type
to htab_t.  Add loc_hash_memory field.
(elfNN_ia64_local_hash_table_init, elfNN_ia64_new_loc_hash_entry):
Removed.
(elfNN_ia64_local_htab_hash, elfNN_ia64_local_htab_eq): New
functions.
(elfNN_ia64_hash_table_create): Use hashtab.h hashtable for
loc_hash_table.  Initialize loc_hash_memory.
(elfNN_ia64_hash_table_free): New function.
(elfNN_ia64_local_hash_lookup): Remove.
(elfNN_ia64_local_dyn_sym_thunk): Change into htab_traverse
callback.
(elfNN_ia64_dyn_sym_traverse): Use htab_traverse.
(get_local_sym_hash): Use hashtab.h hashtable for loc_hash_table.
(bfd_elfNN_bfd_link_hash_table_free): Define.
bfd/ChangeLog
bfd/elfxx-ia64.c