aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/CellSPU
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-03-11 20:14:15 +0000
committerDuncan Sands <baldrick@free.fr>2009-03-11 20:14:15 +0000
commitb95df796a8a89e5817148cf229fb0152bff9d105 (patch)
tree17c5ecc6a7655096a2bff3312b8ca24cca3ebf76 /lib/Target/CellSPU
parent2b5b4bad3dccbc87a2ca1c781497bc552f678689 (diff)
downloadexternal_llvm-b95df796a8a89e5817148cf229fb0152bff9d105.zip
external_llvm-b95df796a8a89e5817148cf229fb0152bff9d105.tar.gz
external_llvm-b95df796a8a89e5817148cf229fb0152bff9d105.tar.bz2
It makes no sense to have a ODR version of common
linkage, so remove it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66690 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CellSPU')
-rw-r--r--lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp b/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp
index 7731a90..9b6e540 100644
--- a/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp
+++ b/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp
@@ -561,8 +561,7 @@ void LinuxAsmPrinter::printModuleLevelGV(const GlobalVariable* GVar) {
case GlobalValue::LinkOnceODRLinkage:
case GlobalValue::WeakAnyLinkage:
case GlobalValue::WeakODRLinkage:
- case GlobalValue::CommonAnyLinkage:
- case GlobalValue::CommonODRLinkage:
+ case GlobalValue::CommonLinkage:
O << "\t.global " << name << '\n'
<< "\t.type " << name << ", @object\n"
<< "\t.weak " << name << '\n';