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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D10565
[mips64] Emit correct addend for R_MIPS_PC16, R_MIPS_PC21_S2 and R_MIPS_PC26_S2 relocations. ClosedPublic Authored by vradosavljevic on Jun 19 2015, 6:57 AM.
Details Summary 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.
Diff Detail
Event Timelinevradosavljevic retitled this revision from to [mips64] Emit correct addend for R_MIPS_PC16, R_MIPS_PC21_S2 and R_MIPS_PC26_S2 relocations.. vradosavljevic updated this object. This revision is now accepted and ready to land.Jun 22 2015, 7:02 AM Closed by commit rL240404: [mips64] Emit correct addend for some PC-relative relocations (authored by petarj). · Explain WhyJun 23 2015, 6:59 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 28236 llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
llvm/trunk/test/MC/Mips/branch-pseudos.s
llvm/trunk/test/MC/Mips/mips-fpu-instructions.s
llvm/trunk/test/MC/Mips/mips32r6/relocations.s
llvm/trunk/test/MC/Mips/mips64r6/relocations.s
llvm/trunk/test/MC/Mips/relocation.s
|