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:
2c0fbb1
)
ExternalWeak case in wrong location.
author
Jim Laskey
<jlaskey@mac.com>
Fri, 1 Dec 2006 14:37:39 +0000
(14:37 +0000)
committer
Jim Laskey
<jlaskey@mac.com>
Fri, 1 Dec 2006 14:37:39 +0000
(14:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32073
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 0998c29226a7ce726f85eb4ef86b04aa04a39cf7..7237126901a889c8ae555dc63ef350c180d50ad0 100644
(file)
--- a/
lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/
lib/Target/PowerPC/PPCAsmPrinter.cpp
@@
-604,10
+604,10
@@
bool DarwinAsmPrinter::doFinalization(Module &M) {
O << "\t\t; '" << I->getName() << "'\n";
} else {
switch (I->getLinkage()) {
- case GlobalValue::LinkOnceLinkage:
case GlobalValue::ExternalWeakLinkage:
O << "\t.weak_reference " << name << "\n";
break;
+ case GlobalValue::LinkOnceLinkage:
case GlobalValue::WeakLinkage:
O << "\t.globl " << name << '\n'
<< "\t.weak_definition " << name << '\n';