OSDN Git Service

* 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)
commit1c03186a46bee4c6e7efb63ab591370fc164a605
tree6a562ced5098afee6f514cbc3d4cff8b7923402d
parent73d46c7ce136b9d2e640ee3e933dedba12215f63
* 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