OSDN Git Service

[yaml2obj] - Allow to use numeric sh_link (Link) value for sections.
authorGeorge Rimar <grimar@accesssoftek.com>
Thu, 16 Aug 2018 12:44:17 +0000 (12:44 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Thu, 16 Aug 2018 12:44:17 +0000 (12:44 +0000)
commitf23f849bd174865e081c609d36efe475533afd28
tree78395dd2dd349ca215604b8a66dc0a9faaa80eb1
parent4b96e82fd2760e3922798d4e84da9eaa1a36f2c2
[yaml2obj] - Allow to use numeric sh_link (Link) value for sections.

That change allows using numeric values for Link field.
It is consistent with the code for another fields in this method.

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