all darwin targets have .space and .zerofill, pull up.
authorChris Lattner <sabre@nondot.org>
Tue, 11 Aug 2009 22:17:31 +0000 (22:17 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 11 Aug 2009 22:17:31 +0000 (22:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78730 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMTargetAsmInfo.cpp
lib/Target/DarwinTargetAsmInfo.cpp
lib/Target/PowerPC/PPCTargetAsmInfo.cpp
lib/Target/X86/X86TargetAsmInfo.cpp

index 464ed1f5a7cf3bffed70f5130be27b32f9025baa..4d9e165a98d0ea1c38d0706b7088f34d3a8c1f33 100644 (file)
@@ -50,8 +50,6 @@ ARMDarwinTargetAsmInfo::ARMDarwinTargetAsmInfo() {
   InlineAsmEnd = "@ InlineAsm End";
   
   
-  ZeroDirective = "\t.space\t";
-  ZeroFillDirective = "\t.zerofill\t";  // Uses .zerofill
   SetDirective = "\t.set\t";
   ProtectedDirective = NULL;
   HasDotTypeDotSizeDirective = false;
index 808074f41068f0f68db66a331c3843a71ece8bd1..533085a107f8f22bbbba8724ec4af0cf8a4632c7 100644 (file)
@@ -36,6 +36,8 @@ DarwinTargetAsmInfo::DarwinTargetAsmInfo() {
   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
index 41d78dcb017e4f0984b5e4e0b4f943fda3768ae7..e20fd4ebd3bd57a77a1e1472f3749a1a14c49096 100644 (file)
@@ -31,7 +31,6 @@ PPCDarwinTargetAsmInfo::PPCDarwinTargetAsmInfo(const PPCTargetMachine &TM) {
   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;
index c44703835c8996882feb8d61fea6a744d4015201..e7f84be060d54e16721977af803a8d4b242209fa 100644 (file)
@@ -50,8 +50,6 @@ X86DarwinTargetAsmInfo::X86DarwinTargetAsmInfo(const X86TargetMachine &TM) {
 
   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);