This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Use a double section list to speed up linker by 30%


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]