commit | f2e9be68945d8fbaa8a0476c16adbca5427f79d9 | [log] [tgz] |
---|---|---|
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | Tue Jul 15 02:03:36 2008 +0000 |
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | Tue Jul 15 02:03:36 2008 +0000 |
tree | c77fda314cd514d17598392ceccd52f41e17465f | |
parent | 78ab5830e7ff7884d96d80b2c8589760572ab7d5 [diff] [blame] |
Fixed call stack alignment. Improved AsmPrinter alignment issues. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53585 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/Mips/MipsTargetAsmInfo.cpp b/lib/Target/Mips/MipsTargetAsmInfo.cpp index a4e13f5..daed29d 100644 --- a/lib/Target/Mips/MipsTargetAsmInfo.cpp +++ b/lib/Target/Mips/MipsTargetAsmInfo.cpp
@@ -31,7 +31,7 @@ BSSSection = "\t.section\t.bss"; LCOMMDirective = "\t.lcomm\t"; - if (TM.getRelocationModel() == Reloc::Static) + if (!TM.getSubtarget<MipsSubtarget>().hasABICall()) JumpTableDirective = "\t.word\t"; else JumpTableDirective = "\t.gpword\t";