PATCH: Use a double section list to speed up linker by 30%
Alan Modra
amodra@bigpond.net.au
Mon May 2 05:17:00 GMT 2005
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
More information about the Binutils
mailing list