Re-add support for lbarx, lharx, stbcx. and sthcx. insns back to the E6500 cpu.
[binutils-gdb.git] / ld / testsuite / ld-aarch64 / tls-relax-gdesc-ie-2.s
blob790b6c6eb8bb4b9c2efa0688f46a5413d8231f78
1 // Test TLS Desc to TLS IE relaxation when instructions are not consecutive.
3 .global var
4 .section .tdata
5 var:
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