[PATCH] D26029: [LLD][ARM] ARM IRELATIVE relocations are in rel.dyn

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 4 13:23:20 PDT 2016


On 1 November 2016 at 09:58, Peter Smith <peter.smith at linaro.org> wrote:
> I've done a bit more research. It looks like even though the IRELATIVE
> relocations are in the .rel.plt the ifunc resolver is always called at
> startup and is not resolved at runtime. I don't know why this is the
> case, it may be that the number of IRELATIVE calls is sufficiently
> small that there isn't much overhead to just do it.


If that is true everywhere I have to objections to putting all the
IRELATIVE relocation in .rela.dyn for all architectures.

Cheers,
Rafael


More information about the llvm-commits mailing list