This adds parsing and dumping support for GNU hash sections.
They are described nicely here: https://blogs.oracle.com/solaris/gnu-hash-elf-sections-v2
Depends on https://reviews.llvm.org/D69558
Paths
| Differential D69399
[yaml2obj/obj2yaml] - Add support for SHT_GNU_HASH section. ClosedPublic Authored by grimar on Oct 24 2019, 10:49 AM.
Details Summary This adds parsing and dumping support for GNU hash sections. Depends on https://reviews.llvm.org/D69558
Diff Detail Event TimelineComment Actions The changes related to the LLVM_YAML_IS_SEQUENCE_VECTOR seems unrelated to the hash table stuff. Could it be a separate prerequisite change?
grimar marked 23 inline comments as done. Comment Actions
This revision is now accepted and ready to land.Oct 30 2019, 5:35 AM Closed by commit rGa7aee6c47a1b: [yaml2obj/obj2yaml] - Add support for SHT_GNU_HASH section. (authored by georgerim, committed by grimar). · Explain WhyOct 31 2019, 2:39 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 227065 llvm/include/llvm/ObjectYAML/ELFYAML.h
llvm/lib/ObjectYAML/ELFEmitter.cpp
llvm/lib/ObjectYAML/ELFYAML.cpp
llvm/test/tools/llvm-readobj/elf-section-types.test
llvm/test/tools/obj2yaml/elf-gnu-hash-section.yaml
llvm/test/tools/yaml2obj/elf-gnu-hash-section.yaml
llvm/tools/obj2yaml/elf2yaml.cpp
|
from the -> from a