[llvm-commits] [llvm] r77435 - /llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp
Chris Lattner
sabre at nondot.org
Tue Jul 28 22:25:43 PDT 2009
Author: lattner
Date: Wed Jul 29 00:25:42 2009
New Revision: 77435
URL: http://llvm.org/viewvc/llvm-project?rev=77435&view=rev
Log:
mingw uses .data and .text, not _data and _text.
Modified:
llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp
Modified: llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp?rev=77435&r1=77434&r2=77435&view=diff
==============================================================================
--- llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp (original)
+++ llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp Wed Jul 29 00:25:42 2009
@@ -590,8 +590,8 @@
//===----------------------------------------------------------------------===//
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::
More information about the llvm-commits
mailing list