8292233: Increase symtab hash table size

Reviewed-by: kevinw, cjplummer
This commit is contained in:
Daniel Jeliński 2022-08-12 05:25:46 +00:00
parent 45e5b31a18
commit 083e014d0c

View File

@ -390,7 +390,7 @@ static struct symtab* build_symtab_internal(int fd, const char *filename, bool t
goto bad;
}
rslt = hcreate_r(n, symtab->hash_table);
rslt = hcreate_r(htab_sz, symtab->hash_table);
// guarantee(rslt, "unexpected failure: hcreate_r");
// shdr->sh_link points to the section that contains the actual strings