[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Dec 22 13:15:29 PST 2005
Changes in directory llvm/lib/Target/PowerPC:
PPCAsmPrinter.cpp updated: 1.131 -> 1.132
---
Log message:
fix handling of weak linkage
---
Diffs of the changes: (+2 -3)
PPCAsmPrinter.cpp | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.131 llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.132
--- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.131 Mon Dec 19 17:40:42 2005
+++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp Thu Dec 22 15:15:17 2005
@@ -495,9 +495,8 @@
switch (I->getLinkage()) {
case GlobalValue::LinkOnceLinkage:
case GlobalValue::WeakLinkage:
- O << ".globl " << name << '\n'
- << ".weak_definition " << name << '\n'
- << ".private_extern " << name << '\n';
+ O << "\t.globl " << name << '\n'
+ << "\t.weak_definition " << name << '\n';
SwitchSection(".section __DATA,__datacoal_nt,coalesced", I);
break;
case GlobalValue::AppendingLinkage:
More information about the llvm-commits
mailing list