mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
all darwin targets have .space and .zerofill, pull up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78730 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5f28ffe6c2
commit
b6ba9c36db
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user