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-tiny.s
blob2336f691d39ea5ee1128bf94c77ce527131fc655
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 adr x0, :tlsldm:global_a0
10 bl __tls_get_addr
11 nop
12 add x1, x0, #:dtprel_hi12:global_a0, lsl #12
13 add x1, x1, #:dtprel_lo12_nc:global_a0
14 adrp x0, .LC0
15 ret
16 .size main, .-main
17 .section .rodata.str1.8,"aMS",%progbits,1
18 .align 3
19 .LC0:
20 .string "Hello world %d\n"
21 .section .tdata,"awT",%progbits
22 .align 2
23 .type global_a0, %object
24 .size global_a0, 4
25 global_a0:
26 .word 16