Contrary to what the documentation says, .lcomm alignment on COFF is in bytes, not...
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 7 Sep 2012 18:56:10 +0000 (18:56 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 7 Sep 2012 18:56:10 +0000 (18:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163405 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/MCAsmInfoCOFF.cpp

index 2637be79781427555f396e0f9efd28d726431402..4b426f8a731a57721ea63d34e0a71c3c5a3935b6 100644 (file)
@@ -19,7 +19,7 @@ void MCAsmInfoCOFF::anchor() { }
 
 MCAsmInfoCOFF::MCAsmInfoCOFF() {
   GlobalPrefix = "_";
-  COMMDirectiveAlignmentIsInBytes = false;
+  COMMDirectiveAlignmentIsInBytes = true;
   LCOMMDirectiveSupportsAlignment = true;
   HasDotTypeDotSizeDirective = false;
   HasSingleParameterDotFile = false;