OSDN Git Service

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 2637be7..4b426f8 100644 (file)
@@ -19,7 +19,7 @@ void MCAsmInfoCOFF::anchor() { }
 
 MCAsmInfoCOFF::MCAsmInfoCOFF() {
   GlobalPrefix = "_";
-  COMMDirectiveAlignmentIsInBytes = false;
+  COMMDirectiveAlignmentIsInBytes = true;
   LCOMMDirectiveSupportsAlignment = true;
   HasDotTypeDotSizeDirective = false;
   HasSingleParameterDotFile = false;