A couple more darwinisms
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22450 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86AsmPrinter.cpp b/lib/Target/X86/X86AsmPrinter.cpp
index 17752b9..9a30bab 100644
--- a/lib/Target/X86/X86AsmPrinter.cpp
+++ b/lib/Target/X86/X86AsmPrinter.cpp
@@ -62,9 +62,12 @@
if (leadingUnderscore || forCygwin || forDarwin)
GlobalPrefix = "_";
- if (forDarwin)
+ if (forDarwin) {
AlignmentIsInBytes = false;
-
+ Data64bitsDirective = 0; // we can't emit a 64-bit unit
+ ZeroDirective = "\t.space\t"; // ".space N" emits N zeros.
+ }
+
return AsmPrinter::doInitialization(M);
}