[PATCH] Optimize ldlang_add_file for large input quantities

Alan Modra amodra@bigpond.net.au
Mon May 28 03:34:00 GMT 2007


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



More information about the Binutils mailing list