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:
Chris Lattner 2009-08-01 22:06:53 +00:00
parent 824583844a
commit cea01bfe7d

View File

@ -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")???