diff options
author | Martin Liska <mliska@suse.cz> | 2020-08-15 19:47:01 +0200 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-08-20 10:53:40 +0930 |
commit | 2b272f449e8664977d0aafba82c416b27b5f2d6f (patch) | |
tree | 7ea3e404d7c0b07aeac6fb4f3ae2e142d23fd534 /gdb/objc-lang.c | |
parent | abebb03c3af215d7542f5e6b71d78823b15220d5 (diff) | |
download | gdb-2b272f449e8664977d0aafba82c416b27b5f2d6f.zip gdb-2b272f449e8664977d0aafba82c416b27b5f2d6f.tar.gz gdb-2b272f449e8664977d0aafba82c416b27b5f2d6f.tar.bz2 |
Use libiberty hash in gas/macro.c.
* config/tc-iq2000.c (iq2000_add_macro): Use htab hash table.
* macro.c (struct hash_control): Use htab.
(macro_init): Likewise.
(do_formals): Likewise.
(free_macro): Likewise.
(define_macro): Likewise.
(sub_actual): Likewise.
(macro_expand_body): Likewise.
(macro_expand): Likewise.
(check_macro): Likewise.
(delete_macro): Likewise.
(expand_irp): Likewise.
* macro.h (struct macro_hash_entry): New struct.
(hash_macro_entry): New.
(eq_macro_entry): Likewise.
(macro_entry_alloc): Likewise.
(macro_entry_find): Likewise.
(struct formal_hash_entry): Likewise.
(hash_formal_entry): Likewise.
(eq_formal_entry): Likewise.
(formal_entry_alloc): Likewise.
(formal_entry_find): Likewise.
Diffstat (limited to 'gdb/objc-lang.c')
0 files changed, 0 insertions, 0 deletions