diff options
Diffstat (limited to 'ld/testsuite/ld-x86-64/tlsld5.s')
-rw-r--r-- | ld/testsuite/ld-x86-64/tlsld5.s | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/tlsld5.s b/ld/testsuite/ld-x86-64/tlsld5.s new file mode 100644 index 0000000..279fde5 --- /dev/null +++ b/ld/testsuite/ld-x86-64/tlsld5.s @@ -0,0 +1,12 @@ + .text + .globl _start +_start: + leaq foo@TLSLD(%rip), %rdi + call *__tls_get_addr@GOTPCREL(%rip) + .globl foo + .section .tdata,"awT",@progbits + .align 4 + .type foo, @object + .size foo, 4 +foo: + .long 100 |