diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2008-07-15 02:03:36 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2008-07-15 02:03:36 +0000 |
commit | b27cb55923024907f7dba43d24ec37408ef1f574 (patch) | |
tree | c77fda314cd514d17598392ceccd52f41e17465f /lib/Target/Mips/MipsTargetAsmInfo.cpp | |
parent | f0d286b77fe40017192b527e5cc5d87974093d54 (diff) |
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
Diffstat (limited to 'lib/Target/Mips/MipsTargetAsmInfo.cpp')
-rw-r--r-- | lib/Target/Mips/MipsTargetAsmInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Mips/MipsTargetAsmInfo.cpp b/lib/Target/Mips/MipsTargetAsmInfo.cpp index a4e13f5f34..daed29da91 100644 --- a/lib/Target/Mips/MipsTargetAsmInfo.cpp +++ b/lib/Target/Mips/MipsTargetAsmInfo.cpp @@ -31,7 +31,7 @@ MipsTargetAsmInfo::MipsTargetAsmInfo(const MipsTargetMachine &TM) { 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"; |