projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MC COFF: Emit the 'b' section flag for .bss sections in GNU assembly
[oota-llvm.git]
/
lib
/
MC
/
MCSectionCOFF.cpp
diff --git
a/lib/MC/MCSectionCOFF.cpp
b/lib/MC/MCSectionCOFF.cpp
index bb35027464021972184982fe0b205a25f5899fbb..ad9ca8840f4f4169fdb693a96a20fcc3d0357229 100644
(file)
--- a/
lib/MC/MCSectionCOFF.cpp
+++ b/
lib/MC/MCSectionCOFF.cpp
@@
-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