Use libiberty hash in gas/symbols.c.
authorMartin Liska <mliska@suse.cz>
Sat, 15 Aug 2020 17:48:17 +0000 (19:48 +0200)
committerAlan Modra <amodra@gmail.com>
Thu, 20 Aug 2020 01:26:07 +0000 (10:56 +0930)
commitd3b740ca99953440d0868b6741d7ea1c7cc03300
tree7b29cf801cb454e77390dae87c4e4f1d7d92057c
parent32e4c1c2d7adfa71121b70c544c721b8c04b39f5
Use libiberty hash in gas/symbols.c.

* symbols.c (struct symbol_entry): New.
(hash_symbol_entry): Likewise.
(eq_symbol_entry): Likewise.
(symbol_entry_alloc): Likewise.
(symbol_entry_find): Likewise.
(local_symbol_make): Use htab hash table.
(local_symbol_convert): Likewise.
(symbol_table_insert): Likewise.
(symbol_find_exact_noref): Likewise.
(resolve_local_symbol): Likewise.
(resolve_local_symbol_values): Likewise.
(symbol_begin): Likewise.
(symbol_print_statistics): Likewise.
gas/ChangeLog
gas/symbols.c