From 9531704395070a7d130320a065cef6bab6c28b9d Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 7 Mar 2008 16:30:59 +0000 Subject: [PATCH] Increase maximum bucket size for dynamic hash tables. --- gold/dynobj.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gold/dynobj.cc b/gold/dynobj.cc index 558129837e5..b6868675df7 100644 --- a/gold/dynobj.cc +++ b/gold/dynobj.cc @@ -687,12 +687,12 @@ Dynobj::compute_bucket_count(const std::vector& hashcodes, // based on the number of symbols there are. If there are fewer // than 3 symbols we use 1 bucket, fewer than 17 symbols we use 3 // buckets, fewer than 37 we use 17 buckets, and so forth. We never - // use more than 32771 buckets. This is straight from the old GNU + // use more than 262147 buckets. This is straight from the old GNU // linker. static const unsigned int buckets[] = { 1, 3, 17, 37, 67, 97, 131, 197, 263, 521, 1031, 2053, 4099, 8209, - 16411, 32771 + 16411, 32771, 65537, 131101, 262147 }; const int buckets_count = sizeof buckets / sizeof buckets[0]; -- 2.30.2