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%
On Mon, May 02, 2005 at 02:47:13PM +0930, Alan Modra wrote:
> 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.
I guess I need to go back until the end of the current section <
the start of the section.
>
> > * 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.
I will take another look.
>
> > (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.
I will remove bfd_section_list_remove.
H.J.