Release 2.22: branch create

Ian Lance Taylor iant@google.com
Tue Oct 18 22:21:00 GMT 2011


On Tue, Oct 18, 2011 at 1:46 PM, David Miller <davem@davemloft.net> wrote:
>
> gold/
>
>        PR binutils/13301
>        * sparc.cc (Target_sparc::Relocate::reloc_adjust_addr_): New
>        member to track relocation locations that have moved during TLS
>        reloc optimizations.
>        (Target_sparc::Relocate::Relocate): Initialize to NULL.
>        (Target_sparc::Relocate::relocate): Adjust view down by 4
>        bytes if it matches reloc_adjust_addr_.
>        (Target_sparc::Relocate::relocate_tls): Always move the
>        __tls_get_addr call delay slot instruction forward 4 bytes when
>        performing relaxation.

This part of the patch looks fine.

Thanks.

Ian



More information about the Binutils mailing list