[PATCH] Don't print (PLT) on ARM

Renato Golin via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 16 08:55:56 PDT 2016

On 16 June 2016 at 16:50, Peter Smith <peter.smith at linaro.org> wrote:
> Hello Renato, Rafael,
> If it is any help, I think the only way you can generate R_ARM_PLT32
> is with an old GNU assembler targeting a pre-ABI target. I'd be
> surprised if llvm claimed any support for pre-ABI targets.
> From https://sourceware.org/binutils/docs/as/ARM_002dRelocations.html
> "For compatibility with older toolchains the assembler also accepts
> (PLT) after branch targets. On legacy targets this will generate the
> deprecated `R_ARM_PLT32' relocation. On EABI targets it will encode
> either the `R_ARM_CALL' or `R_ARM_JUMP24' relocation, as appropriate."

Right, just wanted to make sure. Looks good, thanks!


More information about the llvm-commits mailing list