old-cross-binutils/ld/testsuite/ld-x86-64/tlsie4.s
H.J. Lu 4a4c5f250b Supprt TLS x32 IE->LE transition.
bfd/

2011-03-03  H.J. Lu  <hongjiu.lu@intel.com>

	* elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS
	x32 IE->LE transition.
	(elf_x86_64_relocate_section): Likewise.

ld/testsuite/

2011-03-03  H.J. Lu  <hongjiu.lu@intel.com>

	* ld-x86-64/tlsie4.dd: New.
	* ld-x86-64/tlsie4.s: Likewise.

	* ld-x86-64/x86-64.exp (x86_64tests): Add tlsie4.
2011-03-03 22:11:33 +00:00

16 lines
317 B
ArmAsm

.text
.globl _start
_start:
mov foo@GOTTPOFF(%rip), %eax
add foo@GOTTPOFF(%rip), %eax
mov foo@GOTTPOFF(%rip), %r8d
add foo@GOTTPOFF(%rip), %r8d
mov foo@GOTTPOFF(%rip), %r12d
add foo@GOTTPOFF(%rip), %r12d
.globl foo
.section .tdata,"awT",@progbits
.align 4
.type foo, @object
.size foo, 4
foo:
.long 100