diff options
Diffstat (limited to 'lib/Target/Mips/MipsTargetAsmInfo.cpp')
| -rw-r--r-- | lib/Target/Mips/MipsTargetAsmInfo.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Target/Mips/MipsTargetAsmInfo.cpp b/lib/Target/Mips/MipsTargetAsmInfo.cpp index 96bb8a1..aa40ff6 100644 --- a/lib/Target/Mips/MipsTargetAsmInfo.cpp +++ b/lib/Target/Mips/MipsTargetAsmInfo.cpp @@ -25,8 +25,6 @@ MipsTargetAsmInfo::MipsTargetAsmInfo(const MipsTargetMachine &TM) { CommentString = "#"; ZeroDirective = "\t.space\t"; - if (!TM.getSubtarget<MipsSubtarget>().hasABICall()) - JumpTableDirective = "\t.word\t"; - else + if (TM.getRelocationModel() == Reloc::PIC_) JumpTableDirective = "\t.gpword\t"; } |
