[llvm-commits] [llvm] r78730 - in /llvm/trunk/lib/Target: ARM/ARMTargetAsmInfo.cpp DarwinTargetAsmInfo.cpp PowerPC/PPCTargetAsmInfo.cpp X86/X86TargetAsmInfo.cpp
Chris Lattner
sabre at nondot.org
Tue Aug 11 15:17:31 PDT 2009
Author: lattner
Date: Tue Aug 11 17:17:31 2009
New Revision: 78730
URL: http://llvm.org/viewvc/llvm-project?rev=78730&view=rev
Log:
all darwin targets have .space and .zerofill, pull up.
Modified:
llvm/trunk/lib/Target/ARM/ARMTargetAsmInfo.cpp
llvm/trunk/lib/Target/DarwinTargetAsmInfo.cpp
llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
llvm/trunk/lib/Target/X86/X86TargetAsmInfo.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMTargetAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMTargetAsmInfo.cpp?rev=78730&r1=78729&r2=78730&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMTargetAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMTargetAsmInfo.cpp Tue Aug 11 17:17:31 2009
@@ -50,8 +50,6 @@
InlineAsmEnd = "@ InlineAsm End";
- ZeroDirective = "\t.space\t";
- ZeroFillDirective = "\t.zerofill\t"; // Uses .zerofill
SetDirective = "\t.set\t";
ProtectedDirective = NULL;
HasDotTypeDotSizeDirective = false;
Modified: llvm/trunk/lib/Target/DarwinTargetAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/DarwinTargetAsmInfo.cpp?rev=78730&r1=78729&r2=78730&view=diff
==============================================================================
--- llvm/trunk/lib/Target/DarwinTargetAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/DarwinTargetAsmInfo.cpp Tue Aug 11 17:17:31 2009
@@ -36,6 +36,8 @@
WeakRefDirective = "\t.weak_reference ";
HiddenDirective = "\t.private_extern ";
LCOMMDirective = "\t.lcomm\t";
+ ZeroDirective = "\t.space\t"; // ".space N" emits N zeros.
+ ZeroFillDirective = "\t.zerofill\t"; // Uses .zerofill
// _foo.eh symbols are currently always exported so that the linker knows
// about them. This is not necessary on 10.6 and later, but it
Modified: llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp?rev=78730&r1=78729&r2=78730&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp Tue Aug 11 17:17:31 2009
@@ -31,7 +31,6 @@
const PPCSubtarget *Subtarget = &TM.getSubtarget<PPCSubtarget>();
bool isPPC64 = Subtarget->isPPC64();
- ZeroDirective = "\t.space\t";
SetDirective = "\t.set";
Data64bitsDirective = isPPC64 ? "\t.quad\t" : 0;
AlignmentIsInBytes = false;
Modified: llvm/trunk/lib/Target/X86/X86TargetAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86TargetAsmInfo.cpp?rev=78730&r1=78729&r2=78730&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86TargetAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86TargetAsmInfo.cpp Tue Aug 11 17:17:31 2009
@@ -50,8 +50,6 @@
if (!is64Bit)
Data64bitsDirective = 0; // we can't emit a 64-bit unit
- ZeroDirective = "\t.space\t"; // ".space N" emits N zeros.
- ZeroFillDirective = "\t.zerofill\t"; // Uses .zerofill
// Leopard and above support aligned common symbols.
COMMDirectiveTakesAlignment = (Subtarget->getDarwinVers() >= 9);
More information about the llvm-commits
mailing list