diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-27 16:22:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-27 16:22:39 +0000 |
commit | 5c0d08b6651971678cd7532b0905ca905f7fd0ca (patch) | |
tree | a3a6a8e09edd43dbe0bc7acf7b9deb6fa30746d7 | |
parent | 60c128a86591d14e1908f70a6136236833368e0c (diff) | |
download | external_llvm-5c0d08b6651971678cd7532b0905ca905f7fd0ca.zip external_llvm-5c0d08b6651971678cd7532b0905ca905f7fd0ca.tar.gz external_llvm-5c0d08b6651971678cd7532b0905ca905f7fd0ca.tar.bz2 |
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
-rw-r--r-- | lib/Target/X86/X86TargetAsmInfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/X86/X86TargetAsmInfo.cpp b/lib/Target/X86/X86TargetAsmInfo.cpp index 06f5a0b..94529ea 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; |