summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lib/MC/MCAsmInfoDarwin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/llvm/lib/MC/MCAsmInfoDarwin.cpp')
-rw-r--r--gnu/llvm/lib/MC/MCAsmInfoDarwin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/llvm/lib/MC/MCAsmInfoDarwin.cpp b/gnu/llvm/lib/MC/MCAsmInfoDarwin.cpp
index ae9486d3db4..fc60313dd6b 100644
--- a/gnu/llvm/lib/MC/MCAsmInfoDarwin.cpp
+++ b/gnu/llvm/lib/MC/MCAsmInfoDarwin.cpp
@@ -48,6 +48,7 @@ bool MCAsmInfoDarwin::isSectionAtomizableBySymbols(
case MachO::S_LITERAL_POINTERS:
case MachO::S_NON_LAZY_SYMBOL_POINTERS:
case MachO::S_LAZY_SYMBOL_POINTERS:
+ case MachO::S_THREAD_LOCAL_VARIABLE_POINTERS:
case MachO::S_MOD_INIT_FUNC_POINTERS:
case MachO::S_MOD_TERM_FUNC_POINTERS:
case MachO::S_INTERPOSING:
@@ -88,6 +89,7 @@ MCAsmInfoDarwin::MCAsmInfoDarwin() {
HasDotTypeDotSizeDirective = false;
HasNoDeadStrip = true;
+ HasAltEntry = true;
DwarfUsesRelocationsAcrossSections = false;