mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 16:19:52 +00:00
The .type directive on Solaris uses the # character instead of @.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12454 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -337,7 +337,7 @@ bool V8Printer::runOnMachineFunction(MachineFunction &MF) {
|
|||||||
O << "\t.text\n";
|
O << "\t.text\n";
|
||||||
O << "\t.align 16\n";
|
O << "\t.align 16\n";
|
||||||
O << "\t.globl\t" << CurrentFnName << "\n";
|
O << "\t.globl\t" << CurrentFnName << "\n";
|
||||||
O << "\t.type\t" << CurrentFnName << ", @function\n";
|
O << "\t.type\t" << CurrentFnName << ", #function\n";
|
||||||
O << CurrentFnName << ":\n";
|
O << CurrentFnName << ":\n";
|
||||||
|
|
||||||
// Number each basic block so that we can consistently refer to them
|
// Number each basic block so that we can consistently refer to them
|
||||||
@@ -513,7 +513,7 @@ bool V8Printer::doFinalization(Module &M) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
O << "\t.align " << Align << "\n";
|
O << "\t.align " << Align << "\n";
|
||||||
O << "\t.type " << name << ",@object\n";
|
O << "\t.type " << name << ",#object\n";
|
||||||
O << "\t.size " << name << "," << Size << "\n";
|
O << "\t.size " << name << "," << Size << "\n";
|
||||||
O << name << ":\t\t\t\t! ";
|
O << name << ":\t\t\t\t! ";
|
||||||
WriteAsOperand(O, I, true, true, &M);
|
WriteAsOperand(O, I, true, true, &M);
|
||||||
|
|||||||
@@ -337,7 +337,7 @@ bool V8Printer::runOnMachineFunction(MachineFunction &MF) {
|
|||||||
O << "\t.text\n";
|
O << "\t.text\n";
|
||||||
O << "\t.align 16\n";
|
O << "\t.align 16\n";
|
||||||
O << "\t.globl\t" << CurrentFnName << "\n";
|
O << "\t.globl\t" << CurrentFnName << "\n";
|
||||||
O << "\t.type\t" << CurrentFnName << ", @function\n";
|
O << "\t.type\t" << CurrentFnName << ", #function\n";
|
||||||
O << CurrentFnName << ":\n";
|
O << CurrentFnName << ":\n";
|
||||||
|
|
||||||
// Number each basic block so that we can consistently refer to them
|
// Number each basic block so that we can consistently refer to them
|
||||||
@@ -513,7 +513,7 @@ bool V8Printer::doFinalization(Module &M) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
O << "\t.align " << Align << "\n";
|
O << "\t.align " << Align << "\n";
|
||||||
O << "\t.type " << name << ",@object\n";
|
O << "\t.type " << name << ",#object\n";
|
||||||
O << "\t.size " << name << "," << Size << "\n";
|
O << "\t.size " << name << "," << Size << "\n";
|
||||||
O << name << ":\t\t\t\t! ";
|
O << name << ":\t\t\t\t! ";
|
||||||
WriteAsOperand(O, I, true, true, &M);
|
WriteAsOperand(O, I, true, true, &M);
|
||||||
|
|||||||
Reference in New Issue
Block a user