aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2005-07-16 01:59:47 +0000
committerNate Begeman <natebegeman@mac.com>2005-07-16 01:59:47 +0000
commit9035b99abf36be73ef26a4d31f67a2b4d5d74e99 (patch)
treeeda1ff97920ccd1d88d2a458edb8d0d1be5694ee
parenta28381cac2f3edc181817c11aa328bfa030f4314 (diff)
A couple more darwinisms
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22450 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/X86AsmPrinter.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/Target/X86/X86AsmPrinter.cpp b/lib/Target/X86/X86AsmPrinter.cpp
index 17752b9652..9a30babc7b 100644
--- a/lib/Target/X86/X86AsmPrinter.cpp
+++ b/lib/Target/X86/X86AsmPrinter.cpp
@@ -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);
}