diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-07-21 03:09:04 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-07-21 03:09:04 +0000 |
commit | 6035fe78c79193e2d50f9dfad0cdb85c67817579 (patch) | |
tree | 0fa7a02aaa8e503cb9d8a5040271b91cf058ea66 /llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp | |
parent | b49c68a65dba24c30bebfff16f859cb6b71b8f87 (diff) | |
download | bcm5719-llvm-6035fe78c79193e2d50f9dfad0cdb85c67817579.tar.gz bcm5719-llvm-6035fe78c79193e2d50f9dfad0cdb85c67817579.zip |
Add HIGHER and HIGHEST relocations to Mips backend.
llvm-svn: 160599
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 227fd387f2c..b38463de4bf 100644 --- a/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp +++ b/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp @@ -126,6 +126,8 @@ static void printExpr(const MCExpr *Expr, raw_ostream &OS) { case MCSymbolRefExpr::VK_Mips_GOT_DISP: OS << "%got_disp("; break; case MCSymbolRefExpr::VK_Mips_GOT_PAGE: OS << "%got_page("; break; case MCSymbolRefExpr::VK_Mips_GOT_OFST: OS << "%got_ofst("; break; + case MCSymbolRefExpr::VK_Mips_HIGHER: OS << "%higher("; break; + case MCSymbolRefExpr::VK_Mips_HIGHEST: OS << "%highest("; break; } OS << SRE->getSymbol(); |