This is the mail archive of the binutils@sourceware.org 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.

Thanks,
Han

On Tue, Feb 10, 2015 at 4:44 PM, Jing Yu <jingyu@google.com> 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  <jingyu@google.com>
>
>         * aarch64-reloc.def (TLSLE_MOVW_TPREL_G2, TLSLE_MOVW_TPREL_G1,
>         TLSLE_MOVW_TPREL_G1_NC, TLSLE_MOVW_TPREL_G0, TLSLE_MOVW_TPREL_G0_NC,):
>         New relocation.
>         * aarch64.cc (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]