mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Print stubs for external globals right.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28936 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f89437d049
commit
9f029a61e9
@ -694,7 +694,11 @@ bool DarwinAsmPrinter::doFinalization(Module &M) {
|
|||||||
E = GVStubs.end(); I != E; ++I) {
|
E = GVStubs.end(); I != E; ++I) {
|
||||||
O << "L" << *I << "$non_lazy_ptr:\n";
|
O << "L" << *I << "$non_lazy_ptr:\n";
|
||||||
O << "\t.indirect_symbol " << *I << "\n";
|
O << "\t.indirect_symbol " << *I << "\n";
|
||||||
O << "\t.long\t0\n";
|
if (isPPC64)
|
||||||
|
O << "\t.quad\t0\n";
|
||||||
|
else
|
||||||
|
O << "\t.long\t0\n";
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user