summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-27 16:22:39 +0000
committerChris Lattner <sabre@nondot.org>2009-07-27 16:22:39 +0000
commit3679ad5a771eeab74080824ded460405e1ac2959 (patch)
tree3ad8594c59d23eabc7a656dc3a9daa251c00d358 /llvm/lib/Target/X86
parentc51f3394f31494bdd51d0e0ec9bd0641f4586ae9 (diff)
downloadbcm5719-llvm-3679ad5a771eeab74080824ded460405e1ac2959.tar.gz
bcm5719-llvm-3679ad5a771eeab74080824ded460405e1ac2959.zip
apparently we have "windows" and "coff", which are different(?)
llvm-svn: 77197
Diffstat (limited to 'llvm/lib/Target/X86')
-rw-r--r--llvm/lib/Target/X86/X86TargetAsmInfo.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
index 06f5a0b986e..94529ea8ceb 100644
--- a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud