From aafce77b17d340aace52bcd49d1944109d82f14a Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Wed, 14 May 2008 20:12:51 +0000 Subject: Add CommonLinkage; currently tentative definitions are represented as "weak", but there are subtle differences in some cases on Darwin, so we need both. The intent is that "common" will behave identically to "weak" unless somebody changes their target to do something else. No functional change as yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51118 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86IntelAsmPrinter.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/Target/X86/X86IntelAsmPrinter.cpp') diff --git a/lib/Target/X86/X86IntelAsmPrinter.cpp b/lib/Target/X86/X86IntelAsmPrinter.cpp index ddd90cd..a1031bd 100644 --- a/lib/Target/X86/X86IntelAsmPrinter.cpp +++ b/lib/Target/X86/X86IntelAsmPrinter.cpp @@ -373,6 +373,7 @@ bool X86IntelAsmPrinter::doFinalization(Module &M) { bool bCustomSegment = false; switch (I->getLinkage()) { + case GlobalValue::CommonLinkage: case GlobalValue::LinkOnceLinkage: case GlobalValue::WeakLinkage: SwitchToDataSection(""); -- cgit v1.1