[PATCH] IBM zSystems: Fix offset relative to static TLS
Andreas Krebbel
krebbel@linux.ibm.com
Tue Jan 10 13:40:28 GMT 2023
On 1/10/23 14:35, Stefan Schulze Frielinghaus wrote:
> For local exec TLS relocations of the form foo@NTPOFF+x the addend was
> ignored.
>
> Build and tested on s390x. Ok for mainline and branches 2.{39,40}?
>
> bfd/ChangeLog:
>
> * elf32-s390.c (elf_s390_relocate_section): Honor addend for
> R_390_TLS_LE32.
> * elf64-s390.c (elf_s390_relocate_section): Honor addend for
> R_390_TLS_LE64.
>
> ld/ChangeLog:
>
> * testsuite/ld-s390/reloctlsle-1.d: New test.
> * testsuite/ld-s390/reloctlsle-1.s: New test.
Ok for mainline and release branches. Thanks!
Andreas
More information about the Binutils
mailing list