Improve readelf's display of RELR relocs.
[binutils-gdb.git] / ld / testsuite / ld-x86-64 / tlsgd8.s
blobc913b29e2bc78433729d6dbca86f7e88599f9f3d
1 .text
2 .globl _start
3 _start:
4 1: movabsq $_GLOBAL_OFFSET_TABLE_-1b, %r11
5 pushq %rbx
6 pushq %rbx
7 leaq 1b(%rip), %rbx
8 addq %r11, %rbx
10 /* GD, -mcmodel=large */
11 leaq foo@tlsgd(%rip), %rdi
12 movabsq $__tls_get_addr@pltoff, %rax
13 addq %rbx, %rax
14 call *%rax
16 popq %rbx
17 popq %rbx
18 ret