summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAsmInfoDarwin.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/MCAsmInfoDarwin.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/MCAsmInfoDarwin.cpp')
-rw-r--r--llvm/lib/MC/MCAsmInfoDarwin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCAsmInfoDarwin.cpp b/llvm/lib/MC/MCAsmInfoDarwin.cpp
index 2cf982f3938..e84131f5990 100644
--- a/llvm/lib/MC/MCAsmInfoDarwin.cpp
+++ b/llvm/lib/MC/MCAsmInfoDarwin.cpp
@@ -26,6 +26,7 @@ MCAsmInfoDarwin::MCAsmInfoDarwin() {
HasSubsectionsViaSymbols = true;
AlignmentIsInBytes = false;
+ COMMDirectiveAlignmentIsInBytes = false;
InlineAsmStart = " InlineAsm Start";
InlineAsmEnd = " InlineAsm End";
OpenPOWER on IntegriCloud