]> granicus.if.org Git - llvm/commit
[yaml2obj][obj2yaml] - Support SHT_GNU_verdef (.gnu.version_d) section.
authorGeorge Rimar <grimar@accesssoftek.com>
Thu, 21 Feb 2019 12:21:43 +0000 (12:21 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Thu, 21 Feb 2019 12:21:43 +0000 (12:21 +0000)
commit5db978e66f92518a8c6469531ff3809109fb8058
tree75f9b234ac1d55ceba40dce1922c157f69316728
parentfb3ba6686f43405d55ff878f9c88c3e71722399d
[yaml2obj][obj2yaml] - Support SHT_GNU_verdef (.gnu.version_d) section.

This patch adds support for parsing/dumping the .gnu.version section.

Description of the section is: https://refspecs.linuxfoundation.org/LSB_1.3.0/gLSB/gLSB/symverdefs.html

Differential revision: https://reviews.llvm.org/D58437

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354574 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ObjectYAML/ELFYAML.h
lib/ObjectYAML/ELFYAML.cpp
test/tools/obj2yaml/verdef-section.yaml [new file with mode: 0644]
test/tools/yaml2obj/verdef-section.yaml [new file with mode: 0644]
tools/obj2yaml/elf2yaml.cpp
tools/yaml2obj/yaml2elf.cpp