Slow _bfd_strip_section_from_output

Alan Modra amodra@bigpond.net.au
Tue May 3 00:35:00 GMT 2005


On Sat, Apr 30, 2005 at 12:50:29PM -0700, H. J. Lu wrote:
> _bfd_strip_section_from_output is known to be very slow:
> 
> http://sourceware.org/ml/binutils/2005-03/msg00826.html
> 
> It scans every section in all input files to find a match. We do
> have link_order_head/link_order_tail. But they aren't available
> when _bfd_strip_section_from_output is called. Can we build them
> when we assign the output sections and fix them up before we need
> them for output?

Yes, that's what I suggested in
http://sourceware.org/ml/binutils/2005-03/msg00827.html

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list