This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Bug in >64k-section ELF handling when linking (with -r)
On Tue, Nov 05, 2002 at 08:44:19AM +1030, Alan Modra wrote:
> On Mon, Nov 04, 2002 at 05:21:18PM +0100, Hans-Peter Nilsson wrote:
> > > Date: Mon, 04 Nov 2002 09:57:30 -0500
> > > From: Andrew Cagney <ac131313@redhat.com>
> > > More seriously, is there any chance that someone will find the time to
> > > improve BFD's performance?
>
> You should have seen how long my original >64k code took in bfd.. The
> section hash table improved things greatly, but the recent hash table
> size reduction in response to complaints about ld's memory usage when
> linking thousands of files has no doubt made it a little slower. If
> someone has some spare cycles, converting bfd over to use the auto-
> expanding hash table functions in libiberty/hashtab.c would be a
> useful exercise. I don't see any reason to keep bfd/hash.c now that
> libiberty/hashtab.c returns gracefully when out of memory.
>
We tried. Search the binutils archive.
H.J.