summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAsmInfoCOFF.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-01-26 20:21:43 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-01-26 20:21:43 +0000
commitdcb03f0f6b15aeadb9b627a1a3cd9e1ead6cd393 (patch)
tree38315ed26aa59e5897c7d6efbb588d7e143c57b5 /llvm/lib/MC/MCAsmInfoCOFF.cpp
parent3dd38a81128a39811c40b52a3f7c3590897babe8 (diff)
downloadbcm5719-llvm-dcb03f0f6b15aeadb9b627a1a3cd9e1ead6cd393.tar.gz
bcm5719-llvm-dcb03f0f6b15aeadb9b627a1a3cd9e1ead6cd393.zip
Emit .comm alignment in bytes but .align in powers of 2 for ARM ELF.
Original patch by Sandeep Patel and updated by me. llvm-svn: 94582
Diffstat (limited to 'llvm/lib/MC/MCAsmInfoCOFF.cpp')
-rw-r--r--llvm/lib/MC/MCAsmInfoCOFF.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCAsmInfoCOFF.cpp b/llvm/lib/MC/MCAsmInfoCOFF.cpp
index e6b79dd9d12..ab8a585480f 100644
--- a/llvm/lib/MC/MCAsmInfoCOFF.cpp
+++ b/llvm/lib/MC/MCAsmInfoCOFF.cpp
@@ -18,6 +18,7 @@ using namespace llvm;
MCAsmInfoCOFF::MCAsmInfoCOFF() {
GlobalPrefix = "_";
+ COMMDirectiveAlignmentIsInBytes = false;
HasLCOMMDirective = true;
HasDotTypeDotSizeDirective = false;
HasSingleParameterDotFile = false;
@@ -36,4 +37,3 @@ MCAsmInfoCOFF::MCAsmInfoCOFF() {
SupportsDebugInformation = true;
DwarfSectionOffsetDirective = "\t.secrel32\t";
}
-
OpenPOWER on IntegriCloud