[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
readelf: also dump the address contained in offset on R_386_RELATIVE rel
From: |
Andrea Monaco |
Subject: |
readelf: also dump the address contained in offset on R_386_RELATIVE relocs |
Date: |
Tue, 28 Dec 2021 19:16:20 +0100 |
I see that, when dumping R_386_RELATIVE relocs in readelf, the format is
like this
Offset Info Type Sym.Value Sym. Name
00003d01 00000008 R_386_RELATIVE
If I understand that type of relocation correctly, another information
is missing: the address contained at the given offset, which ld.so adds
to the load address of the module and then overwrites at the same
offset.
I think it is reasonable to provide that information. Some users might
need it for debugging or learning purposes.
Thanks,
Andrea Monaco
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- readelf: also dump the address contained in offset on R_386_RELATIVE relocs,
Andrea Monaco <=