summaryrefslogtreecommitdiff
path: root/lib/MC/MCExpr.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-01-30 04:02:47 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-01-30 04:02:47 +0000
commit2c9ed5d050b5c57bfed35bd82c23f46c714d10c0 (patch)
treef6f3cffacae3d7b2a3597f3756f89ce97481c48b /lib/MC/MCExpr.cpp
parent4747d6b0a50fe9fd22c03d10d72a748bef3edb58 (diff)
downloadllvm-2c9ed5d050b5c57bfed35bd82c23f46c714d10c0.tar.gz
llvm-2c9ed5d050b5c57bfed35bd82c23f46c714d10c0.tar.bz2
llvm-2c9ed5d050b5c57bfed35bd82c23f46c714d10c0.tar.xz
ARM: suuport .tlsdescseq directive
This enhances the ARMAsmParser to handle .tlsdescseq directives. This is a slightly special relocation. We must be able to generate them, but not consume them in assembly. The relocation is meant to assist the linker in generating a TLS descriptor sequence. The ELF target streamer is enhanced to append additional fixups into the current segment and that is used to emit the new R_ARM_TLS_DESCSEQ relocations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200448 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCExpr.cpp')
-rw-r--r--lib/MC/MCExpr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MC/MCExpr.cpp b/lib/MC/MCExpr.cpp
index d402e6d896..75bde8ed36 100644
--- a/lib/MC/MCExpr.cpp
+++ b/lib/MC/MCExpr.cpp
@@ -187,6 +187,7 @@ StringRef MCSymbolRefExpr::getVariantKindName(VariantKind Kind) {
case VK_ARM_TLSLDO: return "tlsldo";
case VK_ARM_TLSCALL: return "tlscall";
case VK_ARM_TLSDESC: return "tlsdesc";
+ case VK_ARM_TLSDESCSEQ: return "tlsdescseq";
case VK_PPC_LO: return "l";
case VK_PPC_HI: return "h";
case VK_PPC_HA: return "ha";