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:
fbb74e6
)
Copy and paste error. An initialized global cannot be a weak reference.
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 1 Dec 2006 17:39:22 +0000
(17:39 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 1 Dec 2006 17:39:22 +0000
(17:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32075
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 7237126901a889c8ae555dc63ef350c180d50ad0..1b9e94a1995977133fc02248835f513b09164c1f 100644
(file)
--- a/
lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/
lib/Target/PowerPC/PPCAsmPrinter.cpp
@@
-604,9
+604,6
@@
bool DarwinAsmPrinter::doFinalization(Module &M) {
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'