From d05da6a8c2e8a0ea893af11f68d195be0bccc668 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 2 May 2005 13:59:16 +0000 Subject: [PATCH] 2005-05-02 H.J. Lu * merge.c (sec_merge_init): Call bfd_hash_table_init_n with hash table size 16699 instead of bfd_hash_table_init. --- bfd/ChangeLog | 5 +++++ bfd/merge.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 28d8bee5390..e9925a67635 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2005-05-02 H.J. Lu + + * 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 * elflink.c (_bfd_elf_merge_symbol): Skip weak definitions if a strong diff --git a/bfd/merge.c b/bfd/merge.c index ccbf5b7e968..baaa2c6b140 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; -- 2.30.2