fix a significant difference between llvm and gcc on ELF systems:
authorChris Lattner <sabre@nondot.org>
Tue, 19 Jan 2010 03:06:01 +0000 (03:06 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 19 Jan 2010 03:06:01 +0000 (03:06 +0000)
commitc7fbe903898ebf322cc375127bca85f4011cb266
tree2493d313dc1182429ec39dd5bcb66dee7a3351d8
parenta3839bc3714e6a84222f45cf4c0f1a20a88b10cd
fix a significant difference between llvm and gcc on ELF systems:
GCC would put weak zero initialized mutable data in the .bss section,
we would put it into a crasy '.gnu.linkonce.b.test,"aw",@nobits'
section.  Fixing this will allow simplifications next up.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93844 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/TargetLoweringObjectFile.cpp
lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp
test/CodeGen/X86/global-sections.ll