From: Chris Lattner Date: Mon, 27 Jul 2009 16:22:39 +0000 (+0000) Subject: apparently we have "windows" and "coff", which are different(?) X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=20886cf91c8b9e39c78befb6ede84f524d3aba16;p=oota-llvm.git apparently we have "windows" and "coff", which are different(?) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77197 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86TargetAsmInfo.cpp b/lib/Target/X86/X86TargetAsmInfo.cpp index 06f5a0b986e..94529ea8ceb 100644 --- a/lib/Target/X86/X86TargetAsmInfo.cpp +++ b/lib/Target/X86/X86TargetAsmInfo.cpp @@ -191,6 +191,9 @@ X86ELFTargetAsmInfo::PreferredEHDataFormat(DwarfEncoding::Target Reason, 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;