From b355e8f604d3b26f15990b478a126b254a0fd9b8 Mon Sep 17 00:00:00 2001 From: Zoran Jovanovic Date: Tue, 27 May 2014 14:58:51 +0000 Subject: [mips][mips64r6] Add Relocations R_MIPS_PCHI16, R_MIPS_PCLO16 Differential Revision: http://reviews.llvm.org/D3860 llvm-svn: 209659 --- llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp') 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(); -- cgit v1.2.3