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 | 4536b9a904d592dc2ec9b1921aacf7fc68344925 (patch) | |
| tree | 37a0a196954a3c00ff46010c9e6ae48a87edcf47 /llvm/lib/Target | |
| parent | 9c193965bab9c4c92b79284702f64cda96bbf409 (diff) | |
| download | bcm5719-llvm-4536b9a904d592dc2ec9b1921aacf7fc68344925.tar.gz bcm5719-llvm-4536b9a904d592dc2ec9b1921aacf7fc68344925.zip | |
Fix alignment on ppc linux. This fixes the build of crtend.o
llvm-svn: 95477
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp b/llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp index b0d04e46e09..b37aee804ac 100644 --- a/llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp +++ b/llvm/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"; |

