ppc32/objdump : retrieving the symbol's name behind the GOT offset ?

Cary Coutant ccoutant@google.com
Fri Jan 10 23:08:00 GMT 2014


> When it's related to the access to an object via the GOT,
> objdump/ppc32 produces such disassembled code :
>
>     lwz     r9,-32764(r30)
>
> Is there any mean (with objdump, or any other tool) for quickly
> retrieving the corresponding real symbol's name of the targeted object
> (local or global) ?

You'll need to scan the dynamic relocations for the relocation that
applies to that particular GOT entry. That relocation will give you
the symbol table index (in .dynsym) of the corresponding symbol.

-cary



More information about the Binutils mailing list