Re: [PATCH] [POWERPC] Optimize counting distinct entries in therelocation sections

2007-11-12 Thread Rusty Russell
On Tuesday 13 November 2007 13:49:15 Paul Mackerras wrote: > Medve Emilian writes: > > Seems like there are R_PPC_REL24 with r_addend != 0. Within a set of 41 > > modules (featuring 5457 R_PPC_REL24 relocations) already included within > > the kernel tree I found 37 such relocations (R_PPC_REL24) w

RE: [PATCH] [POWERPC] Optimize counting distinct entries in therelocation sections

2007-11-12 Thread Paul Mackerras
Medve Emilian writes: > Seems like there are R_PPC_REL24 with r_addend != 0. Within a set of 41 > modules (featuring 5457 R_PPC_REL24 relocations) already included within > the kernel tree I found 37 such relocations (R_PPC_REL24) with r_addend > != 0. In my test case, from 35K relocations, 7K are

RE: [PATCH] [POWERPC] Optimize counting distinct entries in therelocation sections

2007-11-12 Thread Medve Emilian
Hello Paul, > > Actually I notice that count_relocs is counting all relocs, not just > > the R_PPC_REL24 ones, which are all that we actually care about in > > sizing the PLT. And I would be willing to bet that every single > > R_PPC_REL24 reloc has r_addend == 0. > > I'll count only the R_PPC_