[X86][ELF] Correct relocation for DWARF TLS references
authorPaul Robinson <paul_robinson@playstation.sony.com>
Tue, 3 Mar 2015 21:01:27 +0000 (21:01 +0000)
committerPaul Robinson <paul_robinson@playstation.sony.com>
Tue, 3 Mar 2015 21:01:27 +0000 (21:01 +0000)
commit1f8fa31e5d549b1b4588cf5a1faacc37ab217dee
treeab8ed7700c0e2002783598903270886f5f18722a
parent4549d733da86c0cb72ba7045d3fbd231ffa854bb
[X86][ELF] Correct relocation for DWARF TLS references
Previously we had only Linux using DTPOFF for these; all X86 ELF
targets should. Fixes a side issue mentioned in PR21077.

Differential Revision: http://reviews.llvm.org/D8011

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231130 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86TargetMachine.cpp
lib/Target/X86/X86TargetObjectFile.cpp
lib/Target/X86/X86TargetObjectFile.h
test/DebugInfo/X86/tls.ll