* archive.c: Include hashtab.h.
authorBen Elliston <bje@au.ibm.com>
Thu, 10 Mar 2005 00:29:35 +0000 (00:29 +0000)
committerBen Elliston <bje@au.ibm.com>
Thu, 10 Mar 2005 00:29:35 +0000 (00:29 +0000)
commit109f70961993d87c90fab4a7ba8de115759f5999
treec927aa47c0d6c2ae341c57728c2786564580a08a
parent71892b490cef7947cea80667ef03562721fd9b15
* archive.c: Include hashtab.h.
(struct ar_cache): Rename `arelt' to `arbfd' and remove `next'.
(_bfd_look_for_bfd_in_cache): Reimplement using htab_find.
(hash_file_ptr): New function.
(eq_file_ptr): Likewise.
(_bfd_add_bfd_to_archive_cache): Reimplement using a hash table.
* libbfd-in.h: Include hashtab.h.
(struct artdata): Change `cache' member type to htab_t.
* libbfd.h: Rebuild.
bfd/ChangeLog
bfd/archive.c
bfd/libbfd-in.h
bfd/libbfd.h