diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-07-21 22:37:38 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-07-21 22:37:38 +0000 |
| commit | 684d5fe95dc696916e58085aa95afe19402d1165 (patch) | |
| tree | 8ac78dfefd82540cf45474eb99049e744fce366d | |
| parent | 43893573f4124337c7fcf4cd67e0876b308192f9 (diff) | |
| download | bcm5719-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.cpp | 2 |
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) { |

