mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-22 10:29:35 +00:00
update for rename
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77817 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
824583844a
commit
cea01bfe7d
@ -20,14 +20,14 @@ void XCoreTargetObjectFile::Initialize(MCContext &Ctx, const TargetMachine &TM){
|
|||||||
SectionKind::get(SectionKind::Text));
|
SectionKind::get(SectionKind::Text));
|
||||||
DataSection = getOrCreateSection("\t.dp.data", false,
|
DataSection = getOrCreateSection("\t.dp.data", false,
|
||||||
SectionKind::get(SectionKind::DataRel));
|
SectionKind::get(SectionKind::DataRel));
|
||||||
BSSSection_ = getOrCreateSection("\t.dp.bss", false,
|
BSSSection = getOrCreateSection("\t.dp.bss", false,
|
||||||
SectionKind::get(SectionKind::BSS));
|
SectionKind::get(SectionKind::BSS));
|
||||||
|
|
||||||
// TLS globals are lowered in the backend to arrays indexed by the current
|
// TLS globals are lowered in the backend to arrays indexed by the current
|
||||||
// thread id. After lowering they require no special handling by the linker
|
// thread id. After lowering they require no special handling by the linker
|
||||||
// and can be placed in the standard data / bss sections.
|
// and can be placed in the standard data / bss sections.
|
||||||
TLSDataSection = DataSection;
|
TLSDataSection = DataSection;
|
||||||
TLSBSSSection = BSSSection_;
|
TLSBSSSection = BSSSection;
|
||||||
|
|
||||||
if (TM.getSubtarget<XCoreSubtarget>().isXS1A())
|
if (TM.getSubtarget<XCoreSubtarget>().isXS1A())
|
||||||
// FIXME: Why is this writable ("datarel")???
|
// FIXME: Why is this writable ("datarel")???
|
||||||
|
Loading…
Reference in New Issue
Block a user