diff options
author | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2014-05-27 14:58:51 +0000 |
---|---|---|
committer | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2014-05-27 14:58:51 +0000 |
commit | b355e8f604d3b26f15990b478a126b254a0fd9b8 (patch) | |
tree | a366a0fd7c6a7c69edecd1b27d9d5a01fb982794 /llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp | |
parent | de9467593a2f6ad4f6bf3f83eead8c221b25da75 (diff) | |
download | bcm5719-llvm-b355e8f604d3b26f15990b478a126b254a0fd9b8.tar.gz bcm5719-llvm-b355e8f604d3b26f15990b478a126b254a0fd9b8.zip |
[mips][mips64r6] Add Relocations R_MIPS_PCHI16, R_MIPS_PCLO16
Differential Revision: http://reviews.llvm.org/D3860
llvm-svn: 209659
Diffstat (limited to 'llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp')
-rw-r--r-- | llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp b/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp index cff6855d4a3..8c797517e31 100644 --- a/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp +++ b/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp @@ -166,6 +166,8 @@ static void printExpr(const MCExpr *Expr, raw_ostream &OS) { case MCSymbolRefExpr::VK_Mips_GOT_LO16: OS << "%got_lo("; break; case MCSymbolRefExpr::VK_Mips_CALL_HI16: OS << "%call_hi("; break; case MCSymbolRefExpr::VK_Mips_CALL_LO16: OS << "%call_lo("; break; + case MCSymbolRefExpr::VK_Mips_PCREL_HI16: OS << "%pcrel_hi("; break; + case MCSymbolRefExpr::VK_Mips_PCREL_LO16: OS << "%pcrel_lo("; break; } OS << SRE->getSymbol(); |