[PATCH] [mips64] Emit correct addend for R_MIPS_PC16, R_MIPS_PC21_S2 and R_MIPS_PC26_S2 relocations.

Vladimir Radosavljevic vladimir.radosavljevic at rt-rk.com
Fri Jun 19 06:57:45 PDT 2015


Hi dsanders, petarj,

So far, for N64 and N32 ABI we didn't emit correct addend. This patch fix that. It also removes fixup from MCJIT for R_MIPS_PC16 relocation.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D10565

Files:
  lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
  lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
  lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
  test/MC/Mips/branch-pseudos.s
  test/MC/Mips/mips-fpu-instructions.s
  test/MC/Mips/mips32r6/relocations.s
  test/MC/Mips/mips64r6/relocations.s
  test/MC/Mips/relocation.s

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10565.28020.patch
Type: text/x-patch
Size: 25159 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150619/732aed14/attachment.bin>


More information about the llvm-commits mailing list