projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f89437d
)
Print stubs for external globals right.
author
Chris Lattner
<sabre@nondot.org>
Tue, 27 Jun 2006 20:20:53 +0000
(20:20 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 27 Jun 2006 20:20:53 +0000
(20:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28936
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCAsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCAsmPrinter.cpp
b/lib/Target/PowerPC/PPCAsmPrinter.cpp
index fd2d68d7c4ae7278fea62fed586b3604b4b6e730..0de7843b776f9d9d0ca1dc45ed107686e19ac0ea 100644
(file)
--- a/
lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/
lib/Target/PowerPC/PPCAsmPrinter.cpp
@@
-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";
+
}
}