Use htab_t in sim-options.c
authorTom Tromey <tom@tromey.com>
Sat, 24 Apr 2021 20:57:39 +0000 (14:57 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 25 Apr 2021 13:02:20 +0000 (07:02 -0600)
commit4478c3312715e4bf04f30fc12925035b4687edfc
treeaf14c94accc3495a2eec68853d7715360e25113b
parent77393c9b1895ad67c8e725bbe8f49b5c40caab36
Use htab_t in sim-options.c

This changes sim-options.c to use the libiberty hash table, rather
than its own custom hash table.

sim/common/ChangeLog
2021-04-25  Tom Tromey  <tom@tromey.com>

* sim-options.c (compare_strings): New function.
(ARG_HASH_SIZE, ARG_HASH): Remove.
(dup_arg_p): Use htab_t.
(sim_parse_args): Remove assert.
sim/common/ChangeLog
sim/common/sim-options.c