aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-12-01 17:39:22 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-12-01 17:39:22 +0000
commit9382e29c1ebc6524618b173ed04bc25295d02c6e (patch)
treeca39279aac420116ece11dc6b06323311bd0f698 /lib/Target/PowerPC
parentfbb74e6941ebf6c108a4e385902e5e2cd35b739d (diff)
downloadexternal_llvm-9382e29c1ebc6524618b173ed04bc25295d02c6e.zip
external_llvm-9382e29c1ebc6524618b173ed04bc25295d02c6e.tar.gz
external_llvm-9382e29c1ebc6524618b173ed04bc25295d02c6e.tar.bz2
Copy and paste error. An initialized global cannot be a weak reference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32075 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC')
-rw-r--r--lib/Target/PowerPC/PPCAsmPrinter.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Target/PowerPC/PPCAsmPrinter.cpp b/lib/Target/PowerPC/PPCAsmPrinter.cpp
index 7237126..1b9e94a 100644
--- a/lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/lib/Target/PowerPC/PPCAsmPrinter.cpp
@@ -604,9 +604,6 @@ bool DarwinAsmPrinter::doFinalization(Module &M) {
O << "\t\t; '" << I->getName() << "'\n";
} else {
switch (I->getLinkage()) {
- case GlobalValue::ExternalWeakLinkage:
- O << "\t.weak_reference " << name << "\n";
- break;
case GlobalValue::LinkOnceLinkage:
case GlobalValue::WeakLinkage:
O << "\t.globl " << name << '\n'