linux/ppc does use alignment in bytes, not pow-2. This fixes PR6129.
authorChris Lattner <sabre@nondot.org>
Sun, 24 Jan 2010 20:54:45 +0000 (20:54 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 24 Jan 2010 20:54:45 +0000 (20:54 +0000)
It looks like linux/arm and linux/mips have the same setting, which
are probably wrong.  Someone who cares about ARM and MIPS should
investigate with the testcase in PR6129.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94381 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCMCAsmInfo.cpp

index d2ff3b7827b3660b5b42528d92ca1a446734465d..c61627ec533c1c3b72bea5aade9a7a214c9a71c4 100644 (file)
@@ -51,7 +51,6 @@ PPCLinuxMCAsmInfo::PPCLinuxMCAsmInfo(bool is64Bit) {
   ZeroDirective = "\t.space\t";
   SetDirective = "\t.set";
   Data64bitsDirective = is64Bit ? "\t.quad\t" : 0;
-  AlignmentIsInBytes = false;
   HasLCOMMDirective = true;
   AssemblerDialect = 0;           // Old-Style mnemonics.
 }