[v2 4/9] Use libiberty hash in gas/symbols.c.
Martin Liska
mliska@suse.cz
Sat Aug 15 17:48:17 GMT 2020
ChangeLog:
* gas/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/symbols.c | 117 ++++++++++++++++++++++++++++++++++----------------
1 file changed, 79 insertions(+), 38 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Use-libiberty-hash-in-gas-symbols.c.patch
Type: text/x-patch
Size: 6143 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20200815/35215346/attachment-0001.bin>
More information about the Binutils
mailing list