DragonFly BSD
DragonFly kernel List (threaded) for 2003-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Prebinding for DragonFly/FreeBSD-4


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 13 Sep 2003 14:55:53 -0700 (PDT)

:>    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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]