This is an archive of the discontinued LLVM Phabricator instance.

[mips] Adds support for R_MIPS_26, HIGHER, HIGHEST relocations in RuntimeDyld
ClosedPublic

Authored by nitesh.jain on Sep 27 2017, 6:11 AM.

Details

Summary

This patch add support for handling relocation of type R_MIPS_26 for N32/N64 ABI. This will fix the expression failures in LLDB where expression are compiled with flag "-fno-pic -mno-abicalls".

Contribution: Sagar Thakur

Diff Detail

Repository
rL LLVM

Event Timeline

nitesh.jain created this revision.Sep 27 2017, 6:11 AM
sdardis accepted this revision.Oct 18 2017, 3:08 AM

LGTM with inline nits addressed.

lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.cpp
119 ↗(On Diff #116800)

"%x" -> "%llx" PRIx64

316 ↗(On Diff #116800)

"%x" -> "%llx" PRIx64

This revision is now accepted and ready to land.Oct 18 2017, 3:08 AM
This revision was automatically updated to reflect the committed changes.