diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-09-07 18:56:10 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-09-07 18:56:10 +0000 |
commit | 1a005cec5a7a0eaa1a43f32c6eaf7ff812e3d382 (patch) | |
tree | 2812be44b79d4c2779bfad372949e6d41bbd5005 | |
parent | c53ade2889c85207e064e4c3d049383ffffb3319 (diff) |
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
-rw-r--r-- | lib/MC/MCAsmInfoCOFF.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCAsmInfoCOFF.cpp b/lib/MC/MCAsmInfoCOFF.cpp index 2637be7978..4b426f8a73 100644 --- a/lib/MC/MCAsmInfoCOFF.cpp +++ b/lib/MC/MCAsmInfoCOFF.cpp @@ -19,7 +19,7 @@ void MCAsmInfoCOFF::anchor() { } MCAsmInfoCOFF::MCAsmInfoCOFF() { GlobalPrefix = "_"; - COMMDirectiveAlignmentIsInBytes = false; + COMMDirectiveAlignmentIsInBytes = true; LCOMMDirectiveSupportsAlignment = true; HasDotTypeDotSizeDirective = false; HasSingleParameterDotFile = false; |