aboutsummaryrefslogtreecommitdiff
path: root/bfd/merge.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-05-02 13:59:16 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-05-02 13:59:16 +0000
commitd05da6a8c2e8a0ea893af11f68d195be0bccc668 (patch)
treed25809876ec3d18eaee62d973c831b8277d052fe /bfd/merge.c
parent5ebc08b005264175aa52f6992e7fffc49f6633e6 (diff)
downloadgdb-d05da6a8c2e8a0ea893af11f68d195be0bccc668.zip
gdb-d05da6a8c2e8a0ea893af11f68d195be0bccc668.tar.gz
gdb-d05da6a8c2e8a0ea893af11f68d195be0bccc668.tar.bz2
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.
Diffstat (limited to 'bfd/merge.c')
-rw-r--r--bfd/merge.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/merge.c b/bfd/merge.c
index ccbf5b7..baaa2c6 100644
--- a/bfd/merge.c
+++ b/bfd/merge.c
@@ -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;