2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 2 May 2005 13:59:16 +0000 (13:59 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 2 May 2005 13:59:16 +0000 (13:59 +0000)
* merge.c (sec_merge_init): Call bfd_hash_table_init_n with
hash table size 16699 instead of bfd_hash_table_init.

bfd/ChangeLog
bfd/merge.c

index 28d8bee5390de5479d1c7f2d23548003df94d5bf..e9925a67635723463b0048404faeed84486a9932 100644 (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
index ccbf5b7e96863222ebff563e14cf1eb37a888a06..baaa2c6b140e06c934c8c3308183b1db84ed1e3e 100644 (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;
This page took 0.027694 seconds and 4 git commands to generate.