This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Speed up ELF section merge
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 2 May 2005 11:47:28 +0930
- Subject: Re: PATCH: Speed up ELF section merge
- References: <20050430194030.GB17821@lucon.org>
On Sat, Apr 30, 2005 at 12:40:30PM -0700, H. J. Lu wrote:
> + bfd_hash_set_default_size (16699);
> +
This changes the default for all hash tables created after this point.
I don't think that is wise, and in any case doesn't match your stated
aim of increasing the merge hash table.
> if (! bfd_hash_table_init (&table->table, sec_merge_hash_newfunc))
Instead use bfd_hash_table_init_n here.
--
Alan Modra
IBM OzLabs - Linux Technology Centre