[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)
commit646af08e2baf4db25f6d39db5754975e92aab612
treecaf4c3c321eb2a51d613bb5ab07f2ddf2fbc329a
parent24fa0c18e66ca273b42862f3a472ebf6cc5931a5
[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

llvm-svn: 354338
llvm/include/llvm/ObjectYAML/ELFYAML.h
llvm/lib/ObjectYAML/ELFYAML.cpp
llvm/test/tools/obj2yaml/versym-section.yaml [new file with mode: 0644]
llvm/test/tools/yaml2obj/versym-section.yaml [new file with mode: 0644]
llvm/tools/obj2yaml/elf2yaml.cpp
llvm/tools/yaml2obj/yaml2elf.cpp