Re-add support for lbarx, lharx, stbcx. and sthcx. insns back to the E6500 cpu.
[binutils-gdb.git] / ld / testsuite / ld-aarch64 / tls-relax-ld-le-small.s
blobea58500b74864d78d7ce58afb5aa4b9c3cea9062
1 .cpu generic+fp+simd
2 .section .text.startup,"ax",%progbits
3 .align 2
4 .p2align 3,,7
5 .global main
6 .type main, %function
7 main:
8 add x29, sp, 0
9 adrp x0, :tlsldm:global_a0
10 add x0, x0, #:tlsldm_lo12_nc:global_a0
11 bl __tls_get_addr
12 nop
13 add x1, x0, #:dtprel_hi12:global_a0, lsl #12
14 add x1, x1, #:dtprel_lo12_nc:global_a0
15 adrp x0, .LC0
16 ret
17 .size main, .-main
18 .section .rodata.str1.8,"aMS",%progbits,1
19 .align 3
20 .LC0:
21 .string "Hello world %d\n"
22 .section .tdata,"awT",%progbits
23 .align 2
24 .type global_a0, %object
25 .size global_a0, 4
26 global_a0:
27 .word 16