PATCH: Speed up get_special_section

H. J. Lu hjl@lucon.org
Sat May 7 00:34:00 GMT 2005


On Fri, May 06, 2005 at 04:20:16PM -0700, Eric Christopher wrote:
> On Fri, 2005-05-06 at 16:18 -0700, H. J. Lu wrote:
> > On Fri, May 06, 2005 at 04:07:25PM -0700, Eric Christopher wrote:
> > > On Fri, 2005-05-06 at 15:53 -0700, H. J. Lu wrote:
> > > > get_special_section scans the whole array for a match. This patch
> > > > reduces the number of searches.
> > > 
> > > And you tested by... ? :)
> > > 
> > 
> > I run profiling on sec64k.exp. Old:
> 
> Nice, I'd meant something like:
> 
> "--enable-targets=all and make check with no regressions" also :)
> 

It won't build:

/net/gnu/export/gnu/src/binutils/binutils/opcodes/d10v-dis.c: In
function `dis_2_short':
/net/gnu/export/gnu/src/binutils/binutils/opcodes/d10v-dis.c:256:
warning: comparison between signed and unsigned

on Linux/x86_64. It works on ia32, ia64 and x86_64.


H.J.



More information about the Binutils mailing list