summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-01-30 04:02:38 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-01-30 04:02:38 +0000
commit4747d6b0a50fe9fd22c03d10d72a748bef3edb58 (patch)
tree9cb97ad833fd85c4e3cee70731155bf130c91f10 /test
parent9629ad300552f1a34f806eae90afb85bc6c55e9b (diff)
downloadllvm-4747d6b0a50fe9fd22c03d10d72a748bef3edb58.tar.gz
llvm-4747d6b0a50fe9fd22c03d10d72a748bef3edb58.tar.bz2
llvm-4747d6b0a50fe9fd22c03d10d72a748bef3edb58.tar.xz
ARM: support TLS descriptor relocations
Add support for tlsdesc relocations which are part of the ABI, marked as experimental. These relocations permit the linker to perform TLS reference optimizations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200447 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/ARM/symbol-variants.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/MC/ARM/symbol-variants.s b/test/MC/ARM/symbol-variants.s
index f0bf4c4b7c..cf3535eafa 100644
--- a/test/MC/ARM/symbol-variants.s
+++ b/test/MC/ARM/symbol-variants.s
@@ -77,3 +77,9 @@ bl f05(plt)
@ CHECK: 88 R_ARM_TLS_CALL f22
@ CHECK: 92 R_ARM_TLS_CALL f23
+@ tlsdesc
+.word f24(TLSDESC)
+.word f25(tlsdesc)
+@ CHECK: 96 R_ARM_TLS_GOTDESC f24
+@ CHECK: 100 R_ARM_TLS_GOTDESC f25
+