This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Speed up get_special_section
On Sat, May 07, 2005 at 10:20:17AM +0930, Alan Modra wrote:
> On Fri, May 06, 2005 at 03:53:50PM -0700, H. J. Lu wrote:
> > get_special_section scans the whole array for a match. This patch
> > reduces the number of searches.
>
> Have you abandoned your idea of not calling get_special_section on
> sections loaded from an input file? (Or did the profiling results
> shown include that optimization as well? It's a little too good to
> be true.)
The profiling data came from assembler in 64K section tests.
H.J.