]> granicus.if.org Git - llvm/commit
[yaml2obj][obj2yaml] - Support SHT_GNU_versym (.gnu.version) section.
authorGeorge Rimar <grimar@accesssoftek.com>
Tue, 19 Feb 2019 15:29:07 +0000 (15:29 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Tue, 19 Feb 2019 15:29:07 +0000 (15:29 +0000)
commit0f417c50db8f9f09c7dedac30a4b56ad0550619b
treed7fd29088a864d696580b59287e94063defb9f17
parentb9c345bb3bc9f1b1140a549523cc10551b59fcaf
[yaml2obj][obj2yaml] - Support SHT_GNU_versym (.gnu.version) 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/symversion.html#SYMVERTBL

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

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