forked from OSchip/llvm-project
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
This commit is contained in:
parent
43893573f4
commit
684d5fe95d
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue