mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 15:17:25 +00:00
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
This commit is contained in:
@@ -72,7 +72,7 @@ unsigned XCoreTargetAsmInfo::
|
|||||||
SectionFlagsForGlobal(const GlobalValue *GV, const char* Name) const {
|
SectionFlagsForGlobal(const GlobalValue *GV, const char* Name) const {
|
||||||
unsigned Flags = ELFTargetAsmInfo::SectionFlagsForGlobal(GV, Name);
|
unsigned Flags = ELFTargetAsmInfo::SectionFlagsForGlobal(GV, Name);
|
||||||
// Mask out unsupported flags
|
// Mask out unsupported flags
|
||||||
Flags &= ~(SectionFlags::Small | SectionFlags::TLS);
|
Flags &= ~SectionFlags::Small;
|
||||||
|
|
||||||
// Set CP / DP relative flags
|
// Set CP / DP relative flags
|
||||||
if (GV) {
|
if (GV) {
|
||||||
|
|||||||
Reference in New Issue
Block a user