introduce a section kind for common linkage. Use this to slightly
authorChris Lattner <sabre@nondot.org>
Tue, 19 Jan 2010 02:48:26 +0000 (02:48 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 19 Jan 2010 02:48:26 +0000 (02:48 +0000)
commita3839bc3714e6a84222f45cf4c0f1a20a88b10cd
tree63f5a4d489473d1124be4d1d1a4ba54dd8514e1c
parent129e1872c276dc76f08862276bf7433b19643cab
introduce a section kind for common linkage.  Use this to slightly
simplify and commonize some of the asmprinter logic for globals.

This also avoids printing the MCSection for .zerofill, which broke
the llvm-gcc build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93843 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/SectionKind.h
lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp
lib/Target/TargetLoweringObjectFile.cpp
lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp