[PATCH] D47919: llvm-readobj: add experimental support for SHT_RELR sections.
Rahul Chaudhry via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 15 16:01:39 PDT 2018
rahulchaudhry updated this revision to Diff 151579.
rahulchaudhry added a comment.
Herald added subscribers: fedor.sergeev, aheejin, dschuff.
Apologies for the delay in updating this patch.
There are several changes since the previous version:
- By default, '.relr.dyn' contents are printed as-is.
- Pass '-decode-relr' flag to decode the contents and print individual relocations.
- Relative relocation type is printed correctly.
- Elf32_Relr and Elf64_Relr are defined using typedef, matching the proposal.
Repository:
rL LLVM
https://reviews.llvm.org/D47919
Files:
include/llvm/BinaryFormat/DynamicTags.def
include/llvm/BinaryFormat/ELF.h
include/llvm/Object/ELF.h
include/llvm/Object/ELFTypes.h
lib/Object/ELF.cpp
lib/ObjectYAML/ELFYAML.cpp
test/tools/llvm-readobj/Inputs/elf-relr-relocs1.s
test/tools/llvm-readobj/Inputs/elf-relr-relocs2.s
test/tools/llvm-readobj/elf-relr-relocs.test
tools/llvm-readobj/ELFDumper.cpp
tools/llvm-readobj/llvm-readobj.cpp
tools/llvm-readobj/llvm-readobj.h
tools/yaml2obj/yaml2elf.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47919.151579.patch
Type: text/x-patch
Size: 43267 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180615/4b1abd2c/attachment-0001.bin>
More information about the llvm-commits
mailing list