This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Use a double section list to speed up linker by 30%
- 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 14:47:13 +0930
- Subject: Re: PATCH: Use a double section list to speed up linker by 30%
- References: <20050501165707.GA13713@lucon.org> <20050501194757.GA16309@lucon.org>
On Sun, May 01, 2005 at 12:47:57PM -0700, H. J. Lu wrote:
> On Sun, May 01, 2005 at 09:57:07AM -0700, H. J. Lu wrote:
> > In case of address overlap check, we only
> > need to check the previous section.
I don't think this is true.
> * bfd.c (bfd): Remove section_tail and add section_last.
Why did you change this? Using a struct { elt *head; elt **tail; }
allows neater list insertion.
> (bfd_section_double_list_remove): New.
> (bfd_section_list_remove): Updated.
I also can't see the sense in both adding new macros and keeping the old
ones.
--
Alan Modra
IBM OzLabs - Linux Technology Centre