summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86AsmPrinter.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-09 05:12:53 +0000
committerChris Lattner <sabre@nondot.org>2006-05-09 05:12:53 +0000
commitd0201946ad6fb1ca1a0067bd75896ba347732eb0 (patch)
treeefa896a3172c25aee39276d8df33d6346967e6ee /llvm/lib/Target/X86/X86AsmPrinter.h
parent8488ba2e412cb5184a3d8be856a6aa54416a495a (diff)
downloadbcm5719-llvm-d0201946ad6fb1ca1a0067bd75896ba347732eb0.tar.gz
bcm5719-llvm-d0201946ad6fb1ca1a0067bd75896ba347732eb0.zip
Fix the MASM asmprinter's lies. It does not want to emit code to .text/.data
it wants it emitted to _text/_data. llvm-svn: 28185
Diffstat (limited to 'llvm/lib/Target/X86/X86AsmPrinter.h')
-rwxr-xr-xllvm/lib/Target/X86/X86AsmPrinter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86AsmPrinter.h b/llvm/lib/Target/X86/X86AsmPrinter.h
index c4d67b6ac70..b653b34a2f8 100755
--- a/llvm/lib/Target/X86/X86AsmPrinter.h
+++ b/llvm/lib/Target/X86/X86AsmPrinter.h
@@ -69,6 +69,10 @@ struct X86SharedAsmPrinter : public AsmPrinter {
}
bool forDarwin; // FIXME: eliminate.
+
+ const char *DefaultTextSection; // "_text" for MASM, ".text" for others.
+ const char *DefaultDataSection; // "_data" for MASM, ".data" for others.
+
// Necessary for Darwin to print out the apprioriate types of linker stubs
std::set<std::string> FnStubs, GVStubs, LinkOnceStubs;
OpenPOWER on IntegriCloud