n0dalus wrote:
On 7/11/06, Jakub Jelinek <jakub@xxxxxxxxxx> wrote:
Just a quick note what changed:
In ELF, .hash section (with DT_HASH dynamic tag pointing to it) is used
during dynamic linking for symbol lookup, the dynamic linker for each
symbol
it needs to resolve uses that section to map it to a set of symbol
indexes
of possible symbol definitions.
We wrote changes that introduce a new section (.gnu.hash, DT_GNU_HASH
dynamic tag) that serves the same purpose, but is much more efficient
(gives far fewer symbol definition candidates and uses far fewer
cachelines).
Is this for speeding up building or does this speed up program
startup? How much faster is using .gnu.hash over .hash?
This was all discussion earlier in the same list. Details at
http://sources.redhat.com/ml/binutils/2006-06/msg00418.html
Rahul