MC COFF: Emit the 'b' section flag for .bss sections in GNU assembly
authorReid Kleckner <reid@kleckner.net>
Tue, 17 Dec 2013 22:12:40 +0000 (22:12 +0000)
committerReid Kleckner <reid@kleckner.net>
Tue, 17 Dec 2013 22:12:40 +0000 (22:12 +0000)
commit65c43291817ad9b28e259919e19d340f67d8fb6d
tree2a7d87feaa81aeb7be6c639bd82d13a985675b79
parenta5dd89e3c5d141c8641890b17912392ab8257f1b
MC COFF: Emit the 'b' section flag for .bss sections in GNU assembly

Without this, assembling clang's disassembly would produce an object
file with the IMAGE_SCN_CNT_INITIALIZED_DATA section characteristic
rather than the uninitialized one.  link.exe would warn when merging
comdats with different flags.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197529 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCSectionCOFF.cpp
test/MC/COFF/bss_section.ll