[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)
commitd2f90ea3375a401f971400b93004ad7773dc56b4
tree4ff07df23d593c41fb060e7fb1a7c0ba58621692
parent17257bb0b51d4fb889b68d082f0a8272c7271f16
[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.

llvm-svn: 339873
llvm/test/tools/yaml2obj/section-link.yaml [new file with mode: 0644]
llvm/tools/yaml2obj/yaml2elf.cpp