mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 01:24:30 +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:
@ -50,8 +50,6 @@ ARMDarwinTargetAsmInfo::ARMDarwinTargetAsmInfo() {
|
|||||||
InlineAsmEnd = "@ InlineAsm End";
|
InlineAsmEnd = "@ InlineAsm End";
|
||||||
|
|
||||||
|
|
||||||
ZeroDirective = "\t.space\t";
|
|
||||||
ZeroFillDirective = "\t.zerofill\t"; // Uses .zerofill
|
|
||||||
SetDirective = "\t.set\t";
|
SetDirective = "\t.set\t";
|
||||||
ProtectedDirective = NULL;
|
ProtectedDirective = NULL;
|
||||||
HasDotTypeDotSizeDirective = false;
|
HasDotTypeDotSizeDirective = false;
|
||||||
|
@ -36,6 +36,8 @@ DarwinTargetAsmInfo::DarwinTargetAsmInfo() {
|
|||||||
WeakRefDirective = "\t.weak_reference ";
|
WeakRefDirective = "\t.weak_reference ";
|
||||||
HiddenDirective = "\t.private_extern ";
|
HiddenDirective = "\t.private_extern ";
|
||||||
LCOMMDirective = "\t.lcomm\t";
|
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
|
// _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
|
// 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>();
|
const PPCSubtarget *Subtarget = &TM.getSubtarget<PPCSubtarget>();
|
||||||
bool isPPC64 = Subtarget->isPPC64();
|
bool isPPC64 = Subtarget->isPPC64();
|
||||||
|
|
||||||
ZeroDirective = "\t.space\t";
|
|
||||||
SetDirective = "\t.set";
|
SetDirective = "\t.set";
|
||||||
Data64bitsDirective = isPPC64 ? "\t.quad\t" : 0;
|
Data64bitsDirective = isPPC64 ? "\t.quad\t" : 0;
|
||||||
AlignmentIsInBytes = false;
|
AlignmentIsInBytes = false;
|
||||||
|
@ -50,8 +50,6 @@ X86DarwinTargetAsmInfo::X86DarwinTargetAsmInfo(const X86TargetMachine &TM) {
|
|||||||
|
|
||||||
if (!is64Bit)
|
if (!is64Bit)
|
||||||
Data64bitsDirective = 0; // we can't emit a 64-bit unit
|
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.
|
// Leopard and above support aligned common symbols.
|
||||||
COMMDirectiveTakesAlignment = (Subtarget->getDarwinVers() >= 9);
|
COMMDirectiveTakesAlignment = (Subtarget->getDarwinVers() >= 9);
|
||||||
|
Reference in New Issue
Block a user