binutils-gdb/ld/testsuite/ld-s390
Stefan Schulze Frielinghaus 38775ca9a7 IBM zSystems: Fix offset relative to static TLS
For local exec TLS relocations of the form foo@NTPOFF+x the addend was
ignored.

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.

(cherry picked from commit aefebe82dc)
2023-01-10 14:51:47 +01:00
..
gotreloc_31-1.dd
gotreloc_64-norelro-1.dd
gotreloc_64-relro-1.dd
gotreloc-1.s
gotreloc-1.ver
pltoffset-1.dd
pltoffset-1.ld
pltoffset-1.s
pr26918-1.d
pr26918-1.s
reloccheck-1.d
reloccheck-1.s
reloctlsle-1.d
reloctlsle-1.s
s390.exp
tlsbin_64.dd
tlsbin_64.rd
tlsbin_64.s
tlsbin_64.sd
tlsbin_64.td
tlsbin.dd
tlsbin.rd
tlsbin.s
tlsbin.sd
tlsbin.td
tlsbinpic_64.s
tlsbinpic.s
tlslib_64.s
tlslib.s
tlspic1_64.s
tlspic1.s
tlspic2_64.s
tlspic2.s
tlspic_64.dd
tlspic_64.rd
tlspic_64.sd
tlspic_64.td
tlspic.dd
tlspic.rd
tlspic.sd
tlspic.td