Contrary to what the documentation says, .lcomm alignment on COFF is in bytes, not power of 2.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163405 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer
2012-09-07 18:56:10 +00:00
parent c53ade2889
commit 1a005cec5a

View File

@@ -19,7 +19,7 @@ void MCAsmInfoCOFF::anchor() { }
MCAsmInfoCOFF::MCAsmInfoCOFF() { MCAsmInfoCOFF::MCAsmInfoCOFF() {
GlobalPrefix = "_"; GlobalPrefix = "_";
COMMDirectiveAlignmentIsInBytes = false; COMMDirectiveAlignmentIsInBytes = true;
LCOMMDirectiveSupportsAlignment = true; LCOMMDirectiveSupportsAlignment = true;
HasDotTypeDotSizeDirective = false; HasDotTypeDotSizeDirective = false;
HasSingleParameterDotFile = false; HasSingleParameterDotFile = false;