diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-08-11 20:30:58 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-08-11 20:30:58 +0000 |
| commit | fe27130454082b196e82041dd771534aa1699699 (patch) | |
| tree | 1f80bc630021628ad4c352c2e5f3264e4ff8634e /llvm/lib/Target/Mips | |
| parent | d5a91796852b72b8f8101946689e933122818353 (diff) | |
| download | bcm5719-llvm-fe27130454082b196e82041dd771534aa1699699.tar.gz bcm5719-llvm-fe27130454082b196e82041dd771534aa1699699.zip | |
split "JumpTableDirective" (an existing hack) into a PIC and nonPIC
version. This allows TAI implementations to specify the directive to use
based on the mode being codegen'd for.
The real fix for this is to remove JumpTableDirective, but I don't feel
like diving into the jumptable snarl just now.
llvm-svn: 78709
Diffstat (limited to 'llvm/lib/Target/Mips')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp b/llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp index aa40ff6a5ac..8cb58c8bb97 100644 --- a/llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp +++ b/llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp @@ -24,7 +24,5 @@ MipsTargetAsmInfo::MipsTargetAsmInfo(const MipsTargetMachine &TM) { PrivateGlobalPrefix = "$"; CommentString = "#"; ZeroDirective = "\t.space\t"; - - if (TM.getRelocationModel() == Reloc::PIC_) - JumpTableDirective = "\t.gpword\t"; + PICJumpTableDirective = "\t.gpword\t"; } |

