]> granicus.if.org Git - llvm/commit
[yaml2elf] - Check we are able to set custom sh_link for .symtab/.dynsym
authorGeorge Rimar <grimar@accesssoftek.com>
Tue, 11 Jun 2019 10:00:51 +0000 (10:00 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Tue, 11 Jun 2019 10:00:51 +0000 (10:00 +0000)
commitdce5977901e1771a9da6d667a95a48c440dd23a2
tree1bd50fb3c59798cf496df85bc723992f4768079d
parent6317ed58b0378c839ed4c1bc9bb00d7b38a372af
[yaml2elf] - Check we are able to set custom sh_link for .symtab/.dynsym

Allow using both custom numeric and string values for Link field of the
dynamic and regular symbol tables.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363042 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/yaml2obj/dynsymtab-shlink.yaml [new file with mode: 0644]
test/tools/yaml2obj/symtab-shlink.yaml [new file with mode: 0644]
tools/yaml2obj/yaml2elf.cpp