mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-30 22:18:46 +00:00
Remove another hasRawTextSupport.
To remove this one simply move the end of file logic from the asm printer to the target mc streamer. This removes the last call to hasRawTextSupport from lib/Target. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200590 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -37,21 +37,6 @@ void MipsTargetObjectFile::Initialize(MCContext &Ctx, const TargetMachine &TM){
|
||||
getContext().getELFSection(".sbss", ELF::SHT_NOBITS,
|
||||
ELF::SHF_WRITE |ELF::SHF_ALLOC,
|
||||
SectionKind::getBSS());
|
||||
|
||||
// Register info information
|
||||
const MipsSubtarget &Subtarget = TM.getSubtarget<MipsSubtarget>();
|
||||
if (Subtarget.isABI_N64() || Subtarget.isABI_N32())
|
||||
ReginfoSection =
|
||||
getContext().getELFSection(".MIPS.options",
|
||||
ELF::SHT_MIPS_OPTIONS,
|
||||
ELF::SHF_ALLOC |ELF::SHF_MIPS_NOSTRIP,
|
||||
SectionKind::getMetadata());
|
||||
else
|
||||
ReginfoSection =
|
||||
getContext().getELFSection(".reginfo",
|
||||
ELF::SHT_MIPS_REGINFO,
|
||||
ELF::SHF_ALLOC,
|
||||
SectionKind::getMetadata());
|
||||
}
|
||||
|
||||
// A address must be loaded from a small section if its size is less than the
|
||||
|
Reference in New Issue
Block a user