diff options
author | Nate Begeman <natebegeman@mac.com> | 2005-07-16 01:59:47 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2005-07-16 01:59:47 +0000 |
commit | 9035b99abf36be73ef26a4d31f67a2b4d5d74e99 (patch) | |
tree | eda1ff97920ccd1d88d2a458edb8d0d1be5694ee | |
parent | a28381cac2f3edc181817c11aa328bfa030f4314 (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.cpp | 7 |
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); } |