[mips][mcjit] Add support for R_MIPS_PC32.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Tue, 2 Jun 2015 15:28:29 +0000 (15:28 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Tue, 2 Jun 2015 15:28:29 +0000 (15:28 +0000)
commit6c55f8dda7685c49a69e3be1f1ac45328f469078
treef3ea337f1b8bc3b628cb1f06638ca762c9b63264
parent5a04f4af36c619071131db6f76822bede03e62aa
[mips][mcjit] Add support for R_MIPS_PC32.

Summary:
This allows us to resolve relocations for DW_EH_PE_pcrel TType encodings
in the exception handling LSDA.

Also fixed a nearby typo.

Reviewers: petarj, vkalintiris

Reviewed By: vkalintiris

Subscribers: vkalintiris, llvm-commits

Differential Revision: http://reviews.llvm.org/D10127

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238844 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
test/ExecutionEngine/RuntimeDyld/Mips/ELF_O32_PIC_relocations.s