[llvm-commits] [PATCH] Fix R_ARM_ABS32 JIT relocation

Amara Emerson Amara.Emerson at arm.com
Fri Sep 28 05:12:22 PDT 2012


Hi,

The attached patch fixes the relocation of R_ARM_ABS32 relocs in the RuntimeDyld. The implicit addend in the target relocation address was not being used, resulting in multiple R_ARM_ABS32 relocations having the same final value.

The patch also adds asserts to ensure that there are no unexpected addends for MOVW/MOVT relocations.

A test case is also included in the patch which reproduces the bug.

Regards,
Amara

-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mcjit-arm-abs32-reloc-2.patch
Type: application/octet-stream
Size: 2289 bytes
Desc: mcjit-arm-abs32-reloc-2.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120928/0c3c9ffb/attachment.obj>


More information about the llvm-commits mailing list