objdump -d -r doesn't always show reloc symbol

Andreas Schwab schwab@suse.de
Sun Oct 5 15:53:00 GMT 2008


Richard Kennedy <richard@rsk.demon.co.uk> writes:

> and I guess I was expecting the reloc record to point to 
> snd_dummy_unregister_all rather than .text+0x4e.

You have to inspect the assembler source.  If the symbol is local then
the assembler may adjust the relocation to be section relative.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Binutils mailing list