This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: objdump -d -r doesn't always show reloc symbol
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."