diff options
Diffstat (limited to 'ld/testsuite/ld-x86-64/tlsie1.s')
-rw-r--r-- | ld/testsuite/ld-x86-64/tlsie1.s | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/tlsie1.s b/ld/testsuite/ld-x86-64/tlsie1.s new file mode 100644 index 0000000..c7722b1 --- /dev/null +++ b/ld/testsuite/ld-x86-64/tlsie1.s @@ -0,0 +1,14 @@ + .text + .globl _start +_start: + movq foo@GOTTPOFF(%rip), %rax + addq foo@GOTTPOFF(%rip), %rax + movq foo@GOTTPOFF(%rip), %r12 + addq foo@GOTTPOFF(%rip), %r12 + .globl foo + .section .tdata,"awT",@progbits + .align 4 + .type foo, @object + .size foo, 4 +foo: + .long 100 |