From 9382e29c1ebc6524618b173ed04bc25295d02c6e Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Fri, 1 Dec 2006 17:39:22 +0000 Subject: 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 --- lib/Target/PowerPC/PPCAsmPrinter.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/Target/PowerPC') 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' -- cgit v1.1