Slow lang_output_section_find_1
Alan Modra
amodra@bigpond.net.au
Sat Mar 19 01:51:00 GMT 2005
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
More information about the Binutils
mailing list