Relocate with the symbol if the relocation is of kind NTPOFF.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 24 Nov 2010 19:23:50 +0000 (19:23 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 24 Nov 2010 19:23:50 +0000 (19:23 +0000)
commit1683fcc82397681a64a35884edc9c62c49f2f179
tree5a417fbfc4d2b64239bc105debb5c3b215203b2e
parent861ef4b1cffcf30ecd5b6a2216b88345f892f0b7
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