]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Add new string hash table based on htab_t.
authorMartin Liska <mliska@suse.cz>
Tue, 18 Aug 2020 08:49:16 +0000 (10:49 +0200)
committerAlan Modra <amodra@gmail.com>
Thu, 20 Aug 2020 01:26:07 +0000 (10:56 +0930)
commit8d32ded0b1c339f561f0fa8ba8afb9d69f25f684
tree0563d1a1f73132d5a18955d1f59b3e3e93b94836
parentd3b740ca99953440d0868b6741d7ea1c7cc03300
Add new string hash table based on htab_t.

* hash.h (struct string_tuple): New.
(hash_string_tuple): Likewise.
(eq_string_tuple): Likewise.
(string_tuple_alloc): Likewise.
(str_hash_find): Likewise.
(str_hash_find_n): Likewise.
(str_hash_delete): Likewise.
(str_hash_insert): Likewise.
(str_htab_create): Likewise.
gas/ChangeLog
gas/hash.h