diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-29 05:25:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-29 05:25:42 +0000 |
commit | e033e6da0896fafd80e54ea38c3b88260b624709 (patch) | |
tree | 38522a4448b6bb499991208bc0af0834f3723769 /llvm/lib/Target/TargetLoweringObjectFile.cpp | |
parent | c5397abb52551ce0c93e8e5c0054c5a85db086d4 (diff) | |
download | bcm5719-llvm-e033e6da0896fafd80e54ea38c3b88260b624709.tar.gz bcm5719-llvm-e033e6da0896fafd80e54ea38c3b88260b624709.zip |
mingw uses .data and .text, not _data and _text.
llvm-svn: 77435
Diffstat (limited to 'llvm/lib/Target/TargetLoweringObjectFile.cpp')
-rw-r--r-- | llvm/lib/Target/TargetLoweringObjectFile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/TargetLoweringObjectFile.cpp b/llvm/lib/Target/TargetLoweringObjectFile.cpp index e0b294173f0..166f1201781 100644 --- a/llvm/lib/Target/TargetLoweringObjectFile.cpp +++ b/llvm/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:: |