ExternalWeak case in wrong location.

llvm-svn: 32073
This commit is contained in:
Jim Laskey 2006-12-01 14:37:39 +00:00
parent 80361a9297
commit 311622f912
1 changed files with 1 additions and 1 deletions

View File

@ -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';