[PATCH] Fix compute_bucket_count

Alan Modra amodra@bigpond.net.au
Wed Jul 5 00:19:00 GMT 2006


On Tue, Jul 04, 2006 at 12:01:19PM +0200, Jakub Jelinek wrote:
> Apparently very few packages use -Wl,-O1 (glibc is a notable exception)
> and for non-optimizing linking the dynsymcount -> (hashcodesp - hashcodes)
> change in many cases decreases the bucket counts.  It is just itching me
> because the heuristics uses completely unrelated value, a fudge factor would
> be ugly, but at least would make some sense.

Having looked at those results, I guess I'm fussing over nothing.  We
probably don't care too much about files with a small number of symbols,
and the effect of your changes ought to be less on files with a large
number of symbols.  So go ahead and commit.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list