if Xcore doesn't support TLS, it doesn't have to worry about thread local LLVM IR...
authorChris Lattner <sabre@nondot.org>
Tue, 21 Jul 2009 22:37:38 +0000 (22:37 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 21 Jul 2009 22:37:38 +0000 (22:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76665 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/XCore/XCoreTargetAsmInfo.cpp

index cf27a51d281cd37ae2a35785efccaa1f07cd0bfb..8a9f0c2748b1f3ddd24b6e59aa960d83de9c824c 100644 (file)
@@ -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) {