summaryrefslogtreecommitdiffstats
path: root/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2011-12-22 01:05:17 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2011-12-22 01:05:17 +0000
commitbc24985c5ff01fc25336896c388bd8e4e02ffd95 (patch)
tree886fbfab1de9388f92c664a3daf0c7ba7bdfd67c /lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
parent74cab51aa5cdc955b1de0c93d3785479c3ed2d18 (diff)
downloadexternal_llvm-bc24985c5ff01fc25336896c388bd8e4e02ffd95.zip
external_llvm-bc24985c5ff01fc25336896c388bd8e4e02ffd95.tar.gz
external_llvm-bc24985c5ff01fc25336896c388bd8e4e02ffd95.tar.bz2
Local dynamic TLS model for direct object output. Create the correct TLS MIPS
ELF relocations. Patch by Jack Carter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147118 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp')
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp b/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
index 699148b..0f57d3c 100644
--- a/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
+++ b/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
@@ -141,6 +141,9 @@ public:
{ "fixup_Mips_GOTTPREL", 0, 16, 0 },
{ "fixup_Mips_TPREL_HI", 0, 16, 0 },
{ "fixup_Mips_TPREL_LO", 0, 16, 0 },
+ { "fixup_Mips_TLSLDM", 0, 16, 0 },
+ { "fixup_Mips_DTPREL_HI", 0, 16, 0 },
+ { "fixup_Mips_DTPREL_LO", 0, 16, 0 },
{ "fixup_Mips_Branch_PCRel", 0, 16, MCFixupKindInfo::FKF_IsPCRel }
};