This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Optimize ldlang_add_file for large input quantities
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Noah Misch <noah at cs dot caltech dot edu>
- Cc: binutils at sourceware dot org
- Date: Mon, 28 May 2007 13:04:04 +0930
- Subject: Re: [PATCH] Optimize ldlang_add_file for large input quantities
- References: <20070526154716.GA9690@orchestra.cs.caltech.edu>
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