projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c51f339
)
apparently we have "windows" and "coff", which are different(?)
author
Chris Lattner
<sabre@nondot.org>
Mon, 27 Jul 2009 16:22:39 +0000
(16:22 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 27 Jul 2009 16:22:39 +0000
(16:22 +0000)
llvm-svn: 77197
llvm/lib/Target/X86/X86TargetAsmInfo.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
index
06f5a0b
..
94529ea
100644
(file)
--- 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;