binutils-gdb/ld/testsuite/ld-arc/tls_ie-01.s
Cupertino Miranda 4dd72ffdfe Content for TLS_IE_GOT not written to .got.
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
2016-08-26 12:09:17 +02:00

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]