mingw uses .data and .text, not _data and _text.

llvm-svn: 77435
This commit is contained in:
Chris Lattner 2009-07-29 05:25:42 +00:00
parent c5397abb52
commit e033e6da08
1 changed files with 2 additions and 2 deletions

View File

@ -590,8 +590,8 @@ getSectionForMergeableConstant(SectionKind Kind) const {
//===----------------------------------------------------------------------===//
TargetLoweringObjectFileCOFF::TargetLoweringObjectFileCOFF() {
TextSection = getOrCreateSection("_text", true, SectionKind::Text);
DataSection = getOrCreateSection("_data", true, SectionKind::DataRel);
TextSection = getOrCreateSection("\t.text", true, SectionKind::Text);
DataSection = getOrCreateSection("\t.data", true, SectionKind::DataRel);
}
void TargetLoweringObjectFileCOFF::