1// Test TLS Desc to TLS IE relaxation when instructions are not consecutive. 2 3 .global var 4 .section .tdata 5var: 6 .word 2 7 .text 8 adrp x0, :tlsdesc:var 9 nop 10 ldr x1, [x0, #:tlsdesc_lo12:var] 11 nop 12 nop 13 nop 14 add x0, x0, :tlsdesc_lo12:var 15 nop 16 nop 17 .tlsdesccall var 18 blr x1 19 nop 20 mrs x1, tpidr_el0 21 add x0, x1, x0 22 ldr w0, [x0] 23 .global var 24 .section .tdata 25