mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Remove xs1a subtarget. xs1a is a preproduction device used in
early development boards which is no longer supported in the XMOS toolchain. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83381 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -52,20 +52,13 @@ void XCoreTargetObjectFile::Initialize(MCContext &Ctx, const TargetMachine &TM){
|
||||
// and can be placed in the standard data / bss sections.
|
||||
TLSDataSection = DataSection;
|
||||
TLSBSSSection = BSSSection;
|
||||
|
||||
if (TM.getSubtarget<XCoreSubtarget>().isXS1A())
|
||||
ReadOnlySection = // FIXME: Why is this a writable section for XS1A?
|
||||
MCSectionXCore::Create(".dp.rodata", MCSectionELF::SHT_PROGBITS,
|
||||
MCSectionELF::SHF_ALLOC | MCSectionELF::SHF_WRITE |
|
||||
MCSectionXCore::SHF_DP_SECTION,
|
||||
SectionKind::getDataRel(), false, getContext());
|
||||
else
|
||||
ReadOnlySection =
|
||||
MCSectionXCore::Create(".cp.rodata", MCSectionELF::SHT_PROGBITS,
|
||||
MCSectionELF::SHF_ALLOC |
|
||||
MCSectionXCore::SHF_CP_SECTION,
|
||||
SectionKind::getReadOnlyWithRel(), false,
|
||||
getContext());
|
||||
|
||||
ReadOnlySection =
|
||||
MCSectionXCore::Create(".cp.rodata", MCSectionELF::SHT_PROGBITS,
|
||||
MCSectionELF::SHF_ALLOC |
|
||||
MCSectionXCore::SHF_CP_SECTION,
|
||||
SectionKind::getReadOnlyWithRel(), false,
|
||||
getContext());
|
||||
|
||||
// Dynamic linking is not supported. Data with relocations is placed in the
|
||||
// same section as data without relocations.
|
||||
|
Reference in New Issue
Block a user