aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCMCAsmInfo.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-02-06 03:32:21 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-02-06 03:32:21 +0000
commit9e9dfc4062ee0860917c95c95f9a75db5b9412c1 (patch)
tree3f75ceff1986b9ac5b9e9c29bbc5277882a859f1 /lib/Target/PowerPC/PPCMCAsmInfo.cpp
parentc54fa45d65f9d73aa5bc3ced22871cf11ea81cfd (diff)
downloadexternal_llvm-9e9dfc4062ee0860917c95c95f9a75db5b9412c1.zip
external_llvm-9e9dfc4062ee0860917c95c95f9a75db5b9412c1.tar.gz
external_llvm-9e9dfc4062ee0860917c95c95f9a75db5b9412c1.tar.bz2
Fix alignment on ppc linux. This fixes the build of crtend.o
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95477 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCMCAsmInfo.cpp')
-rw-r--r--lib/Target/PowerPC/PPCMCAsmInfo.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCMCAsmInfo.cpp b/lib/Target/PowerPC/PPCMCAsmInfo.cpp
index b0d04e4..b37aee8 100644
--- a/lib/Target/PowerPC/PPCMCAsmInfo.cpp
+++ b/lib/Target/PowerPC/PPCMCAsmInfo.cpp
@@ -26,6 +26,9 @@ PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(bool is64Bit) {
}
PPCLinuxMCAsmInfo::PPCLinuxMCAsmInfo(bool is64Bit) {
+ // ".comm align is in bytes but .align is pow-2."
+ AlignmentIsInBytes = false;
+
CommentString = "#";
GlobalPrefix = "";
PrivateGlobalPrefix = ".L";