aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Mips/MCTargetDesc
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2011-12-14 18:26:41 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2011-12-14 18:26:41 +0000
commit3faac0a78c7a70d3dcd2af102a132bb9da2d639c (patch)
treeb15dc400dbf40c049c0a22c4543bd17220107f41 /lib/Target/Mips/MCTargetDesc
parent5dca1c9f633e3657189afaf9a672a7715c7be22d (diff)
downloadexternal_llvm-3faac0a78c7a70d3dcd2af102a132bb9da2d639c.zip
external_llvm-3faac0a78c7a70d3dcd2af102a132bb9da2d639c.tar.gz
external_llvm-3faac0a78c7a70d3dcd2af102a132bb9da2d639c.tar.bz2
Add support for local dynamic TLS model in LowerGlobalTLSAddress. Direct object
emission is not supported yet, but a patch that adds the support should follow soon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146572 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MCTargetDesc')
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h b/lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h
index be2815d..00fc5df 100644
--- a/lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h
+++ b/lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h
@@ -56,6 +56,13 @@ namespace MipsII {
// Dynamic TLS).
MO_TLSGD,
+ /// MO_TLSLDM - Represents the offset into the global offset table at which
+ // the module ID and TSL block offset reside during execution (Local
+ // Dynamic TLS).
+ MO_TLSLDM,
+ MO_DTPREL_HI,
+ MO_DTPREL_LO,
+
/// MO_GOTTPREL - Represents the offset from the thread pointer (Initial
// Exec TLS).
MO_GOTTPREL,