Interpretation of .gnu.hash
Jose E. Marchesi
jemarch@gnu.org
Sun May 2 10:07:27 GMT 2021
Hi Peng Yu.
> Hex dump of section '.gnu.hash':
> 0x00000308 02000000 06000000 01000000 06000000 ................
> 0x00000318 00008100 00000000 06000000 00000000 ................
> 0x00000328 d165ce6d .e.m
>
> For the above .gnu.hash hexdump. I can see the values of the following
> four variables are below (from the row of 0x00000308).
>
> nbuckets: 2
> symndx: 6
> maskwords: 1
> shift2: 6
>
> https://sourceware.org/legacy-ml/binutils/2006-10/msg00377.html
You may be interested in trying out GNU poke (http://jemarch.net/poke)
which makes it easier to explore binary files like ELF objects.
More information about the Binutils
mailing list