1998-10-26 15:58 Ulrich Drepper <drepper@cygnus.com>
* elf-bfd.h (struct elf_link_hash_entry): Add new field elf_hash_value.
* elflink.h (elf_collect_hash_codes): New function. This function is
called for each exported symbol and we compute the ELF hash value for
it.
(compute_bucket_value): New function. It is called from
size_dynamic_sections to determine the hash table size. When we are
optimizing a better, but slower, algorithm is used.
(size_dynamic_sections): Call compute_bucket_value.
* elf.c (bfd_elf_hash): Optimize the hash function a bit.