aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2013-02-25 16:44:35 +0000
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>2013-02-25 16:44:35 +0000
commitfc7695a653323071ec141aee994e4188592ad1f5 (patch)
tree930347884b39b43adc5fee11eabc2eeb13891f72 /include/llvm/Support
parent7e6ffac9ab0af2a54036c978822ad40492246622 (diff)
Fix missing relocation for TLS addressing peephole optimization.
Report and fix due to Kai Nacke. Testcase update by me. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176029 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support')
-rw-r--r--include/llvm/Support/ELF.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Support/ELF.h b/include/llvm/Support/ELF.h
index bbd29553e3..8e6b91e00e 100644
--- a/include/llvm/Support/ELF.h
+++ b/include/llvm/Support/ELF.h
@@ -483,6 +483,7 @@ enum {
R_PPC64_TOC16_DS = 63,
R_PPC64_TOC16_LO_DS = 64,
R_PPC64_TLS = 67,
+ R_PPC64_TPREL16_LO = 70,
R_PPC64_DTPREL16_LO = 75,
R_PPC64_DTPREL16_HA = 77,
R_PPC64_GOT_TLSGD16_LO = 80,