This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gold][aarch64]Patch to add support for TLSLE_MOVW_* relocations

Hi Jing, LGTM.


On Tue, Feb 10, 2015 at 4:44 PM, Jing Yu <> wrote:
> Hi binutils,
> LLVM aarch64 backend generates AARCH64_TLSLE_MOVW_* relocations that
> were not supported by gold linker (bfd-ld supports them). This patch
> adds such support.
> On x86-64 and aarch64, configure and build binutils.
> $../binutils-gdb/configure --enable-plugins --disable-multilib
> --disable-nls --enable-threads --enable-gold=default
> --enable-targets=all
> Tested the small tls-le test that was generated by llvm.
> Passed other local tls tests.
> OK for trunk?
> Thanks,
> Jing
> 2015-02-10  Jing Yu  <>
>         * aarch64-reloc.def (TLSLE_MOVW_TPREL_G2, TLSLE_MOVW_TPREL_G1,
>         New relocation.
>         * (Target_aarch64::Scan::local): Add cases for new
>         TLSLE_MOVW_* relocations.
>         (Target_aarch64::Scan::global): Likewise.
>         (Target_aarch64::Relocate::relocate): Likewise.
>         (Target_aarch64::Relocate::relocate_tls): Add cases and handlings
>         for new TLSLE_MOVW_* relocations.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]