2005-05-02 H.J. Lu <hongjiu.lu@intel.com>

* merge.c (sec_merge_init): Call bfd_hash_table_init_n with
	hash table size 16699 instead of bfd_hash_table_init.
This commit is contained in:
H.J. Lu 2005-05-02 13:59:16 +00:00
parent 5ebc08b005
commit d05da6a8c2
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
* merge.c (sec_merge_init): Call bfd_hash_table_init_n with
hash table size 16699 instead of bfd_hash_table_init.
2005-05-01 Paul Brook <paul@codesourcery.com>
* elflink.c (_bfd_elf_merge_symbol): Skip weak definitions if a strong

View File

@ -241,7 +241,8 @@ sec_merge_init (unsigned int entsize, bfd_boolean strings)
if (table == NULL)
return NULL;
if (! bfd_hash_table_init (&table->table, sec_merge_hash_newfunc))
if (! bfd_hash_table_init_n (&table->table, sec_merge_hash_newfunc,
16699))
{
free (table);
return NULL;