This is the mail archive of the binutils@sourceware.org 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] Optimize ldlang_add_file for large input quantities


On Sat, May 26, 2007 at 08:47:16AM -0700, Noah Misch wrote:
> 	include/
> 	* bfdlink.h (struct bfd_link_info): Add input_bfds_tail.
> 	
> 	ld/
> 	* ldlang.c (ldlang_add_file): Use input_bfds_tail.

Have you audited all bfd and ld code that touches input_bfds to ensure
that no other place inserts or deletes list elements?  If you find
such a place then it might need to update input_bfds_tail..

-- 
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]