Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-aarch64 / tls-relax-gdesc-ie-2.s
blobf7be57c320716d6c56559d2ebfa181a2944bdb88
1 // Test TLS Desc to TLS IE relaxation when instructions are not consecutive.
3 .text
4 adrp x0, :tlsdesc:var
5 nop
6 ldr x1, [x0, #:tlsdesc_lo12:var]
7 nop
8 nop
9 nop
10 add x0, x0, :tlsdesc_lo12:var
11 nop
12 nop
13 .tlsdesccall var
14 blr x1
15 nop
16 mrs x1, tpidr_el0
17 add x0, x1, x0
18 ldr w0, [x0]
19 .section .tdata