* aoutx.h: Rewrite symbol duplicate elimination to use BFD hash
authorIan Lance Taylor <ian@airs.com>
Wed, 15 Jun 1994 05:48:14 +0000 (05:48 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 15 Jun 1994 05:48:14 +0000 (05:48 +0000)
commitd17fc4c99039eaf3ef4cd5955395f78c77eb4737
tree6f7ec0f1e8d8630f54bdfd0750c9fa5feccb7cfb
parenta7ff9b8029db716d16ad13bcc22f28f5785cf8fe
* aoutx.h: Rewrite symbol duplicate elimination to use BFD hash
tables.
(struct stringtab_entry, struct stringtab_data): Remove.
(HASHMAXLEN, HASH_CHAR, hash, compare, log2, emit_strtab): Remove.
(struct strtab_hash_entry, struct strtab_hash): Define.
(strtab_hash_newfunc, strtab_hash_lookup): Define.
(stringtab_free, emit_stringtab): Define.
(stringtab_init, add_to_stringtab): Rewrite.
(NAME(aout,write_syms)): Use new stringtab code.
(struct aout_final_link_info, NAME(aout,final_link)): Likewise.
(aout_link_write_symbols, aout_link_write_other_symbol): Likewise.
bfd/ChangeLog
bfd/aoutx.h