PATCH: Speed up get_special_section

Alan Modra amodra@bigpond.net.au
Sat May 7 00:52:00 GMT 2005


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.)

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list