From: Chris Lattner Date: Wed, 29 Jul 2009 05:25:42 +0000 (+0000) Subject: mingw uses .data and .text, not _data and _text. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=83d1c3db39dcde56b706b15d6684bc60fda4d276;p=oota-llvm.git mingw uses .data and .text, not _data and _text. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77435 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/TargetLoweringObjectFile.cpp b/lib/Target/TargetLoweringObjectFile.cpp index e0b294173f0..166f1201781 100644 --- a/lib/Target/TargetLoweringObjectFile.cpp +++ b/lib/Target/TargetLoweringObjectFile.cpp @@ -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::