diff options
author | Martin Liska <mliska@suse.cz> | 2020-08-15 19:46:33 +0200 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-08-20 10:51:57 +0930 |
commit | abebb03c3af215d7542f5e6b71d78823b15220d5 (patch) | |
tree | e14c7c04f583709ad523399880ba504c3259d7cc /gas/as.h | |
parent | c51ed085abec8c60bab2fbee16493666f6d84caa (diff) | |
download | gdb-abebb03c3af215d7542f5e6b71d78823b15220d5.zip gdb-abebb03c3af215d7542f5e6b71d78823b15220d5.tar.gz gdb-abebb03c3af215d7542f5e6b71d78823b15220d5.tar.bz2 |
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.
Diffstat (limited to 'gas/as.h')
-rw-r--r-- | gas/as.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -565,6 +565,7 @@ int generic_force_reloc (struct fix *); #include "write.h" #include "frags.h" +#include "hashtab.h" #include "hash.h" #include "read.h" #include "symbols.h" |