[llvm-commits] [llvm] r77197 - /llvm/trunk/lib/Target/X86/X86TargetAsmInfo.cpp
Chris Lattner
sabre at nondot.org
Mon Jul 27 09:22:40 PDT 2009
Author: lattner
Date: Mon Jul 27 11:22:39 2009
New Revision: 77197
URL: http://llvm.org/viewvc/llvm-project?rev=77197&view=rev
Log:
apparently we have "windows" and "coff", which are different(?)
Modified:
llvm/trunk/lib/Target/X86/X86TargetAsmInfo.cpp
Modified: llvm/trunk/lib/Target/X86/X86TargetAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86TargetAsmInfo.cpp?rev=77197&r1=77196&r2=77197&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86TargetAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86TargetAsmInfo.cpp Mon Jul 27 11:22:39 2009
@@ -191,6 +191,9 @@
X86COFFTargetAsmInfo::X86COFFTargetAsmInfo(const X86TargetMachine &TM):
X86GenericTargetAsmInfo(TM) {
+ TextSection = getOrCreateSection("_text", true, SectionKind::Text);
+ DataSection = getOrCreateSection("_data", true, SectionKind::DataRel);
+
GlobalPrefix = "_";
LCOMMDirective = "\t.lcomm\t";
COMMDirectiveTakesAlignment = false;
More information about the llvm-commits
mailing list