Commit: objdump --show-all-symbols: show extra symbols matching referenced addresses
Andreas Schwab
schwab@suse.de
Wed Apr 3 09:46:47 GMT 2024
On Apr 03 2024, Nick Clifton wrote:
> Hi Andreas,
>
>>> + /* If we found an absolute symbol in the reloc (ie: "*ABS*+0x....")
>> Is the addend always formatted as an unsigned number?
>
> Err, yes ?
>
> To be honest I am not 100% sure. Possibly on architectures with a signed
> address space there could be a negative value in the relocation symbol.
Nothing stops the object from using addresses from the upper end of the
address space.
$ tail -1 /proc/self/maps
ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0 [vsyscall]
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Binutils
mailing list