#include "write.h"
#include "frags.h"
-#include "hashtab.h"
-#include "hash.h"
#include "read.h"
#include "symbols.h"
+#include "hashtab.h"
+#include "hash.h"
#include "tc.h"
#include "obj.h"
}
/* Cleanup hash. */
- htab_traverse (groups.indexes, free_section_idx, NULL);
+ htab_traverse_noresize (groups.indexes, free_section_idx, NULL);
htab_delete (groups.indexes);
#ifdef NEED_ECOFF_DEBUG
void
ia64_adjust_symtab (void)
{
- htab_traverse (alias_hash, do_alias, NULL);
+ htab_traverse_noresize (alias_hash, do_alias, NULL);
}
/* It renames the original section name to its alias. */
void
ia64_frob_file (void)
{
- htab_traverse (secalias_hash, do_secalias, NULL);
+ htab_traverse_noresize (secalias_hash, do_secalias, NULL);
}
#ifdef TE_VMS
static void
nds32_elf_analysis_relax_hint (void)
{
- htab_traverse (nds32_hint_hash, nds32_elf_append_relax_relocs_traverse, NULL);
+ htab_traverse_noresize (nds32_hint_hash,
+ nds32_elf_append_relax_relocs_traverse, NULL);
}
static void
str_htab_create (void)
{
return htab_create_alloc (16, hash_string_tuple, eq_string_tuple,
- free, xcalloc, free);
+ NULL, notes_calloc, NULL);
}
#endif /* HASH_H */
void
resolve_local_symbol_values (void)
{
- htab_traverse (sy_hash, resolve_local_symbol, NULL);
+ htab_traverse_noresize (sy_hash, resolve_local_symbol, NULL);
}
/* Obtain the current value of a symbol without changing any