mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
aefebe82dc
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.
15 lines
167 B
ArmAsm
15 lines
167 B
ArmAsm
.text
|
|
.globl _start
|
|
_start:
|
|
larl %r0,bar
|
|
|
|
.section .tbss,"awT",@nobits
|
|
.align 8
|
|
foo: .zero 8
|
|
.zero 8
|
|
|
|
.data
|
|
.align 8
|
|
.quad foo@NTPOFF
|
|
bar: .quad foo@NTPOFF+8
|