MIPS 32-bit ABI uses REL relocation record format to save dynamic relocations. The patch teaches llvm-readobj to show dynamic relocations in this format.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
The change looks good, please include a comment explaining how you generated (including the code itself, maybe) the object so we can regenerate that if needed.
tools/llvm-readobj/ELFDumper.cpp | ||
---|---|---|
956 | I use here the same order as used for DT_RELAxx entries. |
Comment Actions
- Add instructions how to create dyn-rel.so.elf-mips
- s/REL/RELA/ in template argument
- Order printDynamicRelocation declaration properly
Actually, this is out of order.