aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-21 22:37:38 +0000
committerChris Lattner <sabre@nondot.org>2009-07-21 22:37:38 +0000
commit27391795acc2dcf4f7935343ad3dea35c619e76b (patch)
tree71e422af5fb954b7038903a800b98e40c1195bdc
parent97ee12755d810b0a8c87a8fe10d73a938b33be88 (diff)
if Xcore doesn't support TLS, it doesn't have to worry about thread local LLVM IR, it should be rejected by a front-end.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76665 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/XCore/XCoreTargetAsmInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/XCore/XCoreTargetAsmInfo.cpp b/lib/Target/XCore/XCoreTargetAsmInfo.cpp
index cf27a51d28..8a9f0c2748 100644
--- a/lib/Target/XCore/XCoreTargetAsmInfo.cpp
+++ b/lib/Target/XCore/XCoreTargetAsmInfo.cpp
@@ -72,7 +72,7 @@ unsigned XCoreTargetAsmInfo::
SectionFlagsForGlobal(const GlobalValue *GV, const char* Name) const {
unsigned Flags = ELFTargetAsmInfo::SectionFlagsForGlobal(GV, Name);
// Mask out unsupported flags
- Flags &= ~(SectionFlags::Small | SectionFlags::TLS);
+ Flags &= ~SectionFlags::Small;
// Set CP / DP relative flags
if (GV) {