[LLVMdev] [ARM] Mixing rel/rela relocations

Tim Northover
Mon, 04 Nov 2013 19:20:16 -0000

Hi Shankar,

> Does LLVM emit rel/rela relocations with ARM ?

I believe we emit .rel for (32-bit) ARM. Hard-coded in ARMELFObjectWriter.cpp
(“HasRelocationAddend”). It seems to be what most toolchains have settled on.
AArch64 is .rela always in LLVM, in case it matters.

> Any tests ?

Well there are tests of what we do, but obviously not of the full scope of
functionality permitted by the ABI.

Cheers.

Tim.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20131104/b3123ae9/attachment.sig>