gas/hash.c: add new functions
authorMartin Liska <mliska@suse.cz>
Sat, 15 Aug 2020 17:46:33 +0000 (19:46 +0200)
committerAlan Modra <amodra@gmail.com>
Thu, 20 Aug 2020 01:21:57 +0000 (10:51 +0930)
commitabebb03c3af215d7542f5e6b71d78823b15220d5
treee14c7c04f583709ad523399880ba504c3259d7cc
parentc51ed085abec8c60bab2fbee16493666f6d84caa
gas/hash.c: add new functions

The first of a patch series deleting the gas/hash.c hash table
implementation and instead using libiberty/hashtab.c hash tables in
gas.

* as.h: Include hashtab.h.
* hash.c (htab_insert): New.
(htab_print_statistics): Likewise.
* hash.h (htab_insert): Likewise.
(htab_print_statistics): Likewise.
gas/ChangeLog
gas/as.h
gas/hash.c
gas/hash.h