projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84c744f
)
fix handling of weak linkage
author
Chris Lattner
<sabre@nondot.org>
Thu, 22 Dec 2005 21:15:17 +0000
(21:15 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 22 Dec 2005 21:15:17 +0000
(21:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24964
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCAsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCAsmPrinter.cpp
b/lib/Target/PowerPC/PPCAsmPrinter.cpp
index 717b831086d39ef2a8899adfb5de45c3a98ebfb2..a5eb9182eedc52ffa966b2f5ae1af3c0d979df3d 100644
(file)
--- a/
lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/
lib/Target/PowerPC/PPCAsmPrinter.cpp
@@
-495,9
+495,8
@@
bool DarwinAsmPrinter::doFinalization(Module &M) {
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: