This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Slow lang_output_section_find_1
On Fri, Mar 18, 2005 at 11:33:25AM -0800, H. J. Lu wrote:
> With Alan's fix to lang_insert_orphan, lang_output_section_find_1
> becomes the most time consuming part of ld:
Yes, I meant to comment on that last night. We need to do something
about the lang_output_section_statement list. A hash would work, but it
seems silly to have a bfd section hash that duplicates most if not all
entries that would be in the lang_output_section_statement list. Hmm..
Probably best not to be too clever.
--
Alan Modra
IBM OzLabs - Linux Technology Centre