summaryrefslogtreecommitdiff
path: root/lib/MC/MCSectionMachO.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-05-17 21:02:07 +0000
committerEric Christopher <echristo@apple.com>2010-05-17 21:02:07 +0000
commit423c9e3e589a79be757842d421600590c68d5b43 (patch)
tree6304bcbf4e1fe201f9c4977abe389a9d3953f583 /lib/MC/MCSectionMachO.cpp
parent53c779bb3a5712b67cf6bae785cb83a90841d17e (diff)
downloadllvm-423c9e3e589a79be757842d421600590c68d5b43.tar.gz
llvm-423c9e3e589a79be757842d421600590c68d5b43.tar.bz2
llvm-423c9e3e589a79be757842d421600590c68d5b43.tar.xz
Add some section and constant support for darwin TLS.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103974 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCSectionMachO.cpp')
-rw-r--r--lib/MC/MCSectionMachO.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/MC/MCSectionMachO.cpp b/lib/MC/MCSectionMachO.cpp
index 3a18cee839..7a519e8daf 100644
--- a/lib/MC/MCSectionMachO.cpp
+++ b/lib/MC/MCSectionMachO.cpp
@@ -34,7 +34,14 @@ static const struct {
{ "interposing", "S_INTERPOSING" }, // 0x0D
{ "16byte_literals", "S_16BYTE_LITERALS" }, // 0x0E
{ 0, /*FIXME??*/ "S_DTRACE_DOF" }, // 0x0F
- { 0, /*FIXME??*/ "S_LAZY_DYLIB_SYMBOL_POINTERS" } // 0x10
+ { 0, /*FIXME??*/ "S_LAZY_DYLIB_SYMBOL_POINTERS" }, // 0x10
+ { "thread_local_regular", "S_THREAD_LOCAL_REGULAR" }, // 0x11
+ { "thread_bss", "S_THREAD_LOCAL_ZEROFILL" }, // 0x12
+ { "thread_local_variables", "S_THREAD_LOCAL_VARIABLES" }, // 0x13
+ { "thread_local_variable_pointers",
+ "S_THREAD_LOCAL_VARIABLE_POINTERS" }, // 0x14
+ { "thread_local_init_function_pointers",
+ "S_THREAD_LOCAL_INIT_FUNCTION_POINTERS"}, // 0x15
};