Prebinding for DragonFly/FreeBSD-4
Matthew Dillon
dillon at apollo.backplane.com
Sat Sep 13 14:59:41 PDT 2003
:> more detail? DT_REL[A] would be the symbol table (effectively),
:> right? Is that inclusive of both data and instruction (function
:> labels)?
:
:It's the relocation table (array of Elf32_Rel[a]). It doesn't hash the
:string table or symbol table.
:Hashing the rel[a] entries should be enough, because that's effectively
:what we are working on. Actually as I'm writing this, we might want to
:hash the symbol table too.
:
:cheers
: simon
I would definitely feel more comfortable hashing the symbol table
too. I don't trust just the relocation table, I can see situations
where those would remain the same (like with arrays of fixed sized
functions or due to the alignment of functions).
-Matt
More information about the Kernel
mailing list