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 | b22c9289b0dd8255f63038e9bb8229111eb082ae (patch) | |
tree | c4e0a4b79af31c61cedeaec452c21682f7ca0a4c /lib/Target/Mips/InstPrinter | |
parent | fef904d0e824a2c587f8c1063b6c4fbf47fec898 (diff) | |
download | llvm-b22c9289b0dd8255f63038e9bb8229111eb082ae.tar.gz llvm-b22c9289b0dd8255f63038e9bb8229111eb082ae.tar.bz2 llvm-b22c9289b0dd8255f63038e9bb8229111eb082ae.tar.xz |
Add HIGHER and HIGHEST relocations to Mips backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160599 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/InstPrinter')
-rw-r--r-- | lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp b/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp index 227fd387f2..b38463de4b 100644 --- a/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp +++ b/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(); |