diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-12-07 00:28:57 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-12-07 00:28:57 +0000 |
commit | e3d3572e282733bd7aa5ac14115ed0804174e426 (patch) | |
tree | e1b5dc1b31e9d97b63000ee6997f982b276cbd6a /lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp | |
parent | 2068215e8515203ab4839ee494cdc53dfd0cdf02 (diff) | |
download | external_llvm-e3d3572e282733bd7aa5ac14115ed0804174e426.tar.gz external_llvm-e3d3572e282733bd7aa5ac14115ed0804174e426.tar.bz2 external_llvm-e3d3572e282733bd7aa5ac14115ed0804174e426.zip |
Add a few moreLocal/Global R_MIPS_GOT related fixups and
make the addend fixup code a bit more generic
Patch by Jack Carter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145998 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp')
-rw-r--r-- | lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp b/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp index f544d39628..469e73382f 100644 --- a/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp +++ b/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp @@ -96,6 +96,7 @@ static void printExpr(const MCExpr *Expr, raw_ostream &OS) { case MCSymbolRefExpr::VK_None: break; case MCSymbolRefExpr::VK_Mips_GPREL: OS << "%gp_rel("; break; case MCSymbolRefExpr::VK_Mips_GOT_CALL: OS << "%call16("; break; + case MCSymbolRefExpr::VK_Mips_GOT16: OS << "%got("; break; case MCSymbolRefExpr::VK_Mips_GOT: OS << "%got("; break; case MCSymbolRefExpr::VK_Mips_ABS_HI: OS << "%hi("; break; case MCSymbolRefExpr::VK_Mips_ABS_LO: OS << "%lo("; break; |