Fix PREL31 relocation on ARM
authorKeno Fischer <kfischer@college.harvard.edu>
Thu, 20 Oct 2016 21:15:29 +0000 (21:15 +0000)
committerKeno Fischer <kfischer@college.harvard.edu>
Thu, 20 Oct 2016 21:15:29 +0000 (21:15 +0000)
commitc32ffe39168a283d5155cda454776f43048c1f40
treec4f5cd8393469c60c1c5842ebe27454e3696820e
parentb2443ed62bcf393693eedb9e789e4198f4e460cd
Fix PREL31 relocation on ARM

Summary:
This is a 31bits relative relocation instead of a 32bits absolute relocation.

Reviewers: t.p.northover, peter.smith, rengolin

Subscribers: aemerson, llvm-commits, samparker

Differential Revision: https://reviews.llvm.org/D25069

llvm-svn: 284780
llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
llvm/test/ExecutionEngine/RuntimeDyld/ARM/ELF_ARM_EXIDX_relocations.s [new file with mode: 0644]