diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-12-01 14:37:39 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-12-01 14:37:39 +0000 |
commit | 45e507ca9bb09f02e24496cc0885b4ea7debdba9 (patch) | |
tree | e022f978f19d2070b1efcada0052d8d931a6fd5d /lib/Target/PowerPC | |
parent | 2c0fbb1cb68d2e7cf37ff05d9f7d22b96759c6d3 (diff) | |
download | external_llvm-45e507ca9bb09f02e24496cc0885b4ea7debdba9.zip external_llvm-45e507ca9bb09f02e24496cc0885b4ea7debdba9.tar.gz external_llvm-45e507ca9bb09f02e24496cc0885b4ea7debdba9.tar.bz2 |
ExternalWeak case in wrong location.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32073 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC')
-rw-r--r-- | lib/Target/PowerPC/PPCAsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCAsmPrinter.cpp b/lib/Target/PowerPC/PPCAsmPrinter.cpp index 0998c29..7237126 100644 --- 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'; |