OSDN Git Service

[yaml2obj] - Do not ignore explicit addresses for .dynsym and .dynstr
authorGeorge Rimar <grimar@accesssoftek.com>
Tue, 19 Feb 2019 12:15:04 +0000 (12:15 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Tue, 19 Feb 2019 12:15:04 +0000 (12:15 +0000)
commitec70b5d16b0d32b54001bc40b35f301f4ac44938
tree1b76159ee9aafc0bccf1c78fe8412770cdfe72cf
parent090851ba33b1ba50437ac58390b7132eea2e3a2e
[yaml2obj] - Do not ignore explicit addresses for .dynsym and .dynstr

This fixes https://bugs.llvm.org/show_bug.cgi?id=40339

Previously if the addresses were set in YAML they were ignored for
.dynsym and .dynstr sections. The patch fixes that.

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

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