diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-02-06 03:32:21 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-02-06 03:32:21 +0000 |
commit | 2f82ca904a2146a0cafa4c19568ec379ac1aa44f (patch) | |
tree | 3f75ceff1986b9ac5b9e9c29bbc5277882a859f1 /lib/Target/PowerPC/PPCMCAsmInfo.cpp | |
parent | f22f9b35d6e6444028ed288bfae526f53740b5c1 (diff) | |
download | external_llvm-2f82ca904a2146a0cafa4c19568ec379ac1aa44f.zip external_llvm-2f82ca904a2146a0cafa4c19568ec379ac1aa44f.tar.gz external_llvm-2f82ca904a2146a0cafa4c19568ec379ac1aa44f.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.cpp | 3 |
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"; |