Relocate with the symbol if the relocation is of kind NTPOFF.
commit61311e623e221bdd48348e86d0481b1f1fe4fc88
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 24 Nov 2010 19:23:50 +0000 (24 19:23 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 24 Nov 2010 19:23:50 +0000 (24 19:23 +0000)
tree5a417fbfc4d2b64239bc105debb5c3b215203b2e
parente5508a59e6e9dbe1a9ee1799ef25b09c14e4b40a
Relocate with the symbol if the relocation is of kind NTPOFF.
Patch by David Meyer, I added the test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120104 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/ELFObjectWriter.cpp
test/MC/ELF/relocation-386.s