This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Slow _bfd_strip_section_from_output


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]