A couple more darwinisms
authorNate Begeman <natebegeman@mac.com>
Sat, 16 Jul 2005 01:59:47 +0000 (01:59 +0000)
committerNate Begeman <natebegeman@mac.com>
Sat, 16 Jul 2005 01:59:47 +0000 (01:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22450 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86AsmPrinter.cpp

index 17752b9652119870ac4d81e4105a77b1c76f5036..9a30babc7b23541dc4aa7ab4e032608caac48113 100644 (file)
@@ -62,9 +62,12 @@ bool X86SharedAsmPrinter::doInitialization(Module& M) {
   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);
 }