[PATCH] D56569: [ObjectYAML][yaml2obj][ELF] Add basic support for dynamic entries
Armando Montanez via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 10 16:56:12 PST 2019
amontanez created this revision.
amontanez added reviewers: jakehehrlich, jhenderson, ruiu, silvas, atanasyan, phosek, mcgrathr.
Herald added subscribers: llvm-commits, hiraditya.
This change introduces basic support for adding .dynamic entries to an ELF binary produced with yaml2obj.
Added:
- YAML traits for .dynamic section contents.
- `d_tag` can be populated by using the names of the tags.
- yaml2obj writes .dynamic entries.
Repository:
rL LLVM
https://reviews.llvm.org/D56569
Files:
llvm/include/llvm/ObjectYAML/ELFYAML.h
llvm/lib/ObjectYAML/ELFYAML.cpp
llvm/test/tools/yaml2obj/dynamic-entry-extra-val.yaml
llvm/test/tools/yaml2obj/dynamic-entry-missing-val.yaml
llvm/test/tools/yaml2obj/dynamic-section.yaml
llvm/tools/yaml2obj/yaml2elf.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56569.181180.patch
Type: text/x-patch
Size: 12752 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190111/6db43469/attachment.bin>
More information about the llvm-commits
mailing list