1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

Print stubs for external globals right.

llvm-svn: 28936
This commit is contained in:
Chris Lattner 2006-06-27 20:20:53 +00:00
parent 2c3f67f6a7
commit 01965c2fd8

View File

@ -694,7 +694,11 @@ bool DarwinAsmPrinter::doFinalization(Module &M) {
E = GVStubs.end(); I != E; ++I) {
O << "L" << *I << "$non_lazy_ptr:\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";
}
}