From 1a005cec5a7a0eaa1a43f32c6eaf7ff812e3d382 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Fri, 7 Sep 2012 18:56:10 +0000 Subject: [PATCH] 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 --- lib/MC/MCAsmInfoCOFF.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1