1.1 --- a/patches/binutils/2.15/150-bfd-hash-tweak.patch Wed Oct 28 12:03:38 2009 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,24 +0,0 @@
1.4 -Signed-off-by: dank@kegel.com
1.5 -
1.6 -Raising the size of the hash table is a noticable win when linking
1.7 -at least one large app.
1.8 -
1.9 -There was a patch,
1.10 -http://sources.redhat.com/ml/binutils/2004-06/msg00165.html
1.11 -to do this dynamically. No idea why that didn't make it in.
1.12 -So this tiny change to raise the default size is just
1.13 -a stopgap for now.
1.14 -
1.15 -
1.16 ---- binutils-2.15/bfd/hash.c.old 2003-12-01 01:33:01.000000000 -0500
1.17 -+++ binutils-2.15/bfd/hash.c 2006-03-01 16:26:26.701991000 -0500
1.18 -@@ -295,7 +295,7 @@
1.19 - */
1.20 -
1.21 - /* The default number of entries to use when creating a hash table. */
1.22 --#define DEFAULT_SIZE (4051)
1.23 -+#define DEFAULT_SIZE (32749)
1.24 -
1.25 - /* Create a new hash table, given a number of entries. */
1.26 -
1.27 -