summaryrefslogtreecommitdiff
path: root/lib/MC
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-09-07 18:56:10 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-09-07 18:56:10 +0000
commit1a005cec5a7a0eaa1a43f32c6eaf7ff812e3d382 (patch)
tree2812be44b79d4c2779bfad372949e6d41bbd5005 /lib/MC
parentc53ade2889c85207e064e4c3d049383ffffb3319 (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
Diffstat (limited to 'lib/MC')
-rw-r--r--lib/MC/MCAsmInfoCOFF.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCAsmInfoCOFF.cpp b/lib/MC/MCAsmInfoCOFF.cpp
index 2637be79781..4b426f8a731 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;