(bfd_hash_set_default_size): Add more entries to the hash_size_primes table.
authorNick Clifton <nickc@redhat.com>
Thu, 29 Dec 2005 10:33:40 +0000 (10:33 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 29 Dec 2005 10:33:40 +0000 (10:33 +0000)
bfd/ChangeLog
bfd/hash.c

index 0465e4bc14ea430954eb8ef191d1f48e1b50ab7e..3ea9d5617c30cc7ba7892b025fd6e5d8ef84c420 100644 (file)
@@ -1,5 +1,8 @@
 2005-12-29  Nick Clifton  <nickc@redhat.com>
 
+       * hash.c (bfd_hash_set_default_size): Add more entries to the
+       hash_size_primes table.
+
        * stabs.c (_bfd_link_section_stabs): Use bfd_hash_table_init
        rather than bfd_hash_table_init_n(...,251) so that the size of the
        hash table can be controlled by the user.
index fc3177331b57de3b29a7b40411b650e726f011f5..e53eda1b901cb929ff6613d5cf6548a75ba496a6 100644 (file)
@@ -492,7 +492,7 @@ bfd_hash_set_default_size (bfd_size_type hash_size)
   /* Extend this prime list if you want more granularity of hash table size.  */
   static const bfd_size_type hash_size_primes[] =
     {
-      1021, 4051, 8599, 16699
+      251, 509, 1021, 2039, 4051, 8599, 16699, 32749
     };
   size_t index;
 
This page took 0.029258 seconds and 4 git commands to generate.