mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 16:19:52 +00:00
remove SectionFlags::Small: it is only used on Xcore, and we'll find
a better solution for it in the future. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76818 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -45,14 +45,6 @@ MipsTargetAsmInfo::MipsTargetAsmInfo(const MipsTargetMachine &TM):
|
||||
|
||||
}
|
||||
|
||||
unsigned MipsTargetAsmInfo::
|
||||
SectionFlagsForGlobal(const GlobalValue *GV, const char* Name) const {
|
||||
unsigned Flags = ELFTargetAsmInfo::SectionFlagsForGlobal(GV, Name);
|
||||
// Mask out Small Section flag bit, Mips doesnt support 's' section symbol
|
||||
// for its small sections.
|
||||
return (Flags & (~SectionFlags::Small));
|
||||
}
|
||||
|
||||
SectionKind::Kind MipsTargetAsmInfo::
|
||||
SectionKindForGlobal(const GlobalValue *GV) const {
|
||||
SectionKind::Kind K = ELFTargetAsmInfo::SectionKindForGlobal(GV);
|
||||
|
||||
Reference in New Issue
Block a user