diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-08-11 22:17:31 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-08-11 22:17:31 +0000 |
| commit | d832c8e87c64c408c816360a0fcfb2c9b3ea707c (patch) | |
| tree | 355b3e6d7f15a0dd27bae201cc1a2f590a7e955d | |
| parent | f710f71839c61d544186cbfdfabf224789e0afdc (diff) | |
| download | bcm5719-llvm-d832c8e87c64c408c816360a0fcfb2c9b3ea707c.tar.gz bcm5719-llvm-d832c8e87c64c408c816360a0fcfb2c9b3ea707c.zip | |
all darwin targets have .space and .zerofill, pull up.
llvm-svn: 78730
| -rw-r--r-- | llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/DarwinTargetAsmInfo.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp | 1 | ||||
| -rw-r--r-- | llvm/lib/Target/X86/X86TargetAsmInfo.cpp | 2 |
4 files changed, 2 insertions, 5 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp b/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp index 464ed1f5a7c..4d9e165a98d 100644 --- a/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp +++ b/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp @@ -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; diff --git a/llvm/lib/Target/DarwinTargetAsmInfo.cpp b/llvm/lib/Target/DarwinTargetAsmInfo.cpp index 808074f4106..533085a107f 100644 --- a/llvm/lib/Target/DarwinTargetAsmInfo.cpp +++ b/llvm/lib/Target/DarwinTargetAsmInfo.cpp @@ -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 diff --git a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp index 41d78dcb017..e20fd4ebd3b 100644 --- a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp +++ b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp @@ -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; diff --git a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp index c44703835c8..e7f84be060d 100644 --- a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp +++ b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp @@ -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); |

