Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-x86-64 / tlsgd9.s
blob11ce109e0f66da19f6df3cbb86b974e1eb3e2b29
1 .text
2 .globl _start
3 _start:
4 1: movabsq $_GLOBAL_OFFSET_TABLE_-1b, %r11
5 pushq %r15
6 pushq %r15
7 leaq 1b(%rip), %r15
8 addq %r11, %r15
10 /* GD, -mcmodel=large */
11 leaq foo@tlsgd(%rip), %rdi
12 movabsq $__tls_get_addr@pltoff, %rax
13 addq %r15, %rax
14 call *%rax
16 popq %r15
17 popq %r15
18 ret
19 .globl foo
20 .section .tdata,"awT",@progbits
21 .align 4
22 .type foo, @object
23 .size foo, 4
24 foo:
25 .long 100