AArch64: make RuntimeDyld relocations idempotent
authorTim Northover <t.p.northover@gmail.com>
Sun, 19 May 2013 15:39:03 +0000 (15:39 +0000)
committerTim Northover <t.p.northover@gmail.com>
Sun, 19 May 2013 15:39:03 +0000 (15:39 +0000)
commit675b9e9f3d567bdf1a31ce9d9ce2451ae09dc9fa
treef7e179ce80f865fb46dd3dc04b448b2af340c0a5
parent820b147493d6d534f9482f1e7d4ff5af99d095b4
AArch64: make RuntimeDyld relocations idempotent

AArch64 ELF uses .rela relocations so there's no need to actually make
use of the bits we're setting in the destination  However, we should
make sure all bits are cleared properly since multiple runs of
resolveRelocations are possible and these could combine to produce
invalid results if stale versions remain in the code.

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