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

Amara Emerson amara.emerson at arm.com
Tue Oct 2 07:06:19 PDT 2012


Ping.

-----Original Message-----
From: llvm-commits-bounces at cs.uiuc.edu
[mailto:llvm-commits-bounces at cs.uiuc.edu] On Behalf Of Amara Emerson
Sent: 28 September 2012 13:12
To: llvm-commits at cs.uiuc.edu
Subject: [llvm-commits] [PATCH] Fix R_ARM_ABS32 JIT relocation

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








More information about the llvm-commits mailing list