[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Evan Cheng
evan.cheng at apple.com
Fri Dec 1 09:39:37 PST 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCAsmPrinter.cpp updated: 1.214 -> 1.215
---
Log message:
Copy and paste error. An initialized global cannot be a weak reference.
---
Diffs of the changes: (+0 -3)
PPCAsmPrinter.cpp | 3 ---
1 files changed, 3 deletions(-)
Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.214 llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.215
--- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.214 Fri Dec 1 08:37:39 2006
+++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp Fri Dec 1 11:39:22 2006
@@ -604,9 +604,6 @@
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'
More information about the llvm-commits
mailing list