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:
parent
2c3f67f6a7
commit
01965c2fd8
@ -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";
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user