summaryrefslogtreecommitdiffstats
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
commit684d5fe95dc696916e58085aa95afe19402d1165 (patch)
tree8ac78dfefd82540cf45474eb99049e744fce366d
parent43893573f4124337c7fcf4cd67e0876b308192f9 (diff)
downloadbcm5719-llvm-684d5fe95dc696916e58085aa95afe19402d1165.tar.gz
bcm5719-llvm-684d5fe95dc696916e58085aa95afe19402d1165.zip
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.
llvm-svn: 76665
-rw-r--r--llvm/lib/Target/XCore/XCoreTargetAsmInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/XCore/XCoreTargetAsmInfo.cpp b/llvm/lib/Target/XCore/XCoreTargetAsmInfo.cpp
index cf27a51d281..8a9f0c2748b 100644
--- a/llvm/lib/Target/XCore/XCoreTargetAsmInfo.cpp
+++ b/llvm/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) {
OpenPOWER on IntegriCloud