Changes in directory llvm/lib/Target/X86:
X86IntelAsmPrinter.cpp updated: 1.48 -> 1.49 --- Log message: Implement MASM sections correctly, without a "has masm sections flag" and a bunch of special case code. --- Diffs of the changes: (+3 -1) X86IntelAsmPrinter.cpp | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: llvm/lib/Target/X86/X86IntelAsmPrinter.cpp diff -u llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.48 llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.49 --- llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.48 Tue May 9 00:21:47 2006 +++ llvm/lib/Target/X86/X86IntelAsmPrinter.cpp Tue May 9 00:33:48 2006 @@ -284,7 +284,6 @@ } bool X86IntelAsmPrinter::doInitialization(Module &M) { - MLSections = true; GlobalPrefix = "_"; CommentString = ";"; @@ -306,6 +305,9 @@ DefaultTextSection = "_text"; DefaultDataSection = "_data"; SwitchToSectionDirective = ""; + TextSectionStartSuffix = "\tsegment 'CODE'"; + DataSectionStartSuffix = "\tsegment 'DATA'"; + SectionEndDirectiveSuffix = "\tends\n"; O << "\t.686\n\t.model flat\n\n"; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits