This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Slow _bfd_strip_section_from_output
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 30 Apr 2005 12:50:29 -0700
- Subject: Slow _bfd_strip_section_from_output
_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?
H.J.