MC COFF: Emit the 'b' section flag for .bss sections in GNU assembly
[oota-llvm.git] / lib / MC / MCSectionCOFF.cpp
index bb35027464021972184982fe0b205a25f5899fbb..ad9ca8840f4f4169fdb693a96a20fcc3d0357229 100644 (file)
@@ -54,6 +54,8 @@ void MCSectionCOFF::PrintSwitchToSection(const MCAsmInfo &MAI,
   OS << "\t.section\t" << getSectionName() << ",\"";
   if (getKind().isText())
     OS << 'x';
+  else if (getKind().isBSS())
+    OS << 'b';
   if (getKind().isWriteable())
     OS << 'w';
   else