mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
4dd72ffdfe
When no dynamic relocation was generated the .got content would not be updated for the TLS_IE_GOT relocation addresses. bfd/ChangeLog: Cupertino Miranda <cmiranda@synopsys.com> * arc-got.h (relocate_fix_got_relocs_for_got_info): Fixed addresses in debug comments. Fixed address in .got related to TLS_IE_GOT dynamic relocation. ld/ChangeLog: Cupertino Miranda <cmiranda@synopsys.com> * testsuite/ld-arc/tls_ie-01.s: Added to verify associated fix. * testsuite/ld-arc/tls_ie-01.d: Likewise
11 lines
148 B
ArmAsm
11 lines
148 B
ArmAsm
.tls_common foo,4,4
|
|
.tls_common bar,4,4
|
|
|
|
.text
|
|
.align 4
|
|
|
|
.global __start
|
|
__start:
|
|
ld r14, [pcl, @foo@tlsie]
|
|
ld r15, [pcl, @bar@tlsie]
|