OSDN Git Service

[RuntimeDyld] Support R_390_PC64 relocation type
authorBryan Chan <bryan.chan@ca.ibm.com>
Fri, 13 May 2016 17:23:48 +0000 (17:23 +0000)
committerBryan Chan <bryan.chan@ca.ibm.com>
Fri, 13 May 2016 17:23:48 +0000 (17:23 +0000)
commitd80276dc1b0592f69fe9f8dc9333e1ae82fa587e
treec7eb4fbc1a7ac18e52f9e978712dcbee41784d3c
parent3f9e48ad51a0895ee93c26fdc35e9810cf371000
[RuntimeDyld] Support R_390_PC64 relocation type

Summary: When the MCJIT generates ELF code, some DWARF data requires 64-bit PC-relative relocation (R_390_PC64). This patch adds support for R_390_PC64 relocation to RuntimeDyld::resolveSystemZRelocation, to avoid an assertion failure.

Reviewers: uweigand

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269436 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
test/ExecutionEngine/RuntimeDyld/SystemZ/Inputs/rtdyld-globals.ll [new file with mode: 0644]
test/ExecutionEngine/RuntimeDyld/SystemZ/cfi-relo-pc64.s [new file with mode: 0644]