Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-aarch64 / erratum843419_tls_ie.s
blob60322445c50bf27c60921d264401b0b23d8b4298
1 .text
2 .align 2
3 .global main
4 .type main, %function
5 main:
6 sub sp, sp, #16
7 mov x7, 13
8 str w7, [sp,12]
9 b farbranch
10 ret
11 .size main, .-main
13 .section .e843419, "xa"
14 .align 2
15 .global farbranch
16 .type farbranch, %function
17 farbranch:
18 sub sp, sp, #16
19 mov x7, 13
20 str w7, [sp,12]
21 b e843419
22 .fill 4072,1,0
23 e843419:
24 adrp x0, :gottprel:l_tlsievar
25 str x7, [x0,12]
26 mov x8, 9
27 str x8, [x0, :gottprel_lo12:l_tlsievar]
29 add x0, x1, x5
30 ldr w7, [sp,12]
31 add w0, w7, w7
32 add sp, sp, 16
33 ret
34 .size farbranch, .-farbranch
36 # ---
38 .section .tbss,"awT",%nobits
39 .align 2
40 .type l_tlsievar, %object
41 .size l_tlsievar, 4
42 l_tlsievar:
43 .zero 4