]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/testsuite/gas/loongarch/relax-cfi-fde-DW_CFA_advance_loc.s
LoongArch: Add relaxation for R_LARCH_CALL36
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / loongarch / relax-cfi-fde-DW_CFA_advance_loc.s
CommitLineData
601c741d 1# Emits ADD/SUB relocations for CFA FDE DW_CFA_advance_loc with -mrelax option.
2.text
3.cfi_startproc
4
5.cfi_def_cfa 22, 0
6la.local $t0, a
7.cfi_restore 22
8
9.cfi_def_cfa 22, 0
10la.got $t0, a
11.cfi_restore 22
12
13.cfi_def_cfa 22, 0
14la.tls.ld $t0, a
15.cfi_restore 22
16
17.cfi_def_cfa 22, 0
18la.tls.gd $t0, a
19.cfi_restore 22
20
21.cfi_def_cfa 22, 0
22la.tls.desc $t0, a
23.cfi_restore 22
24
25.cfi_def_cfa 22, 0
26pcalau12i $t0, %le_hi20_r(a)
27.cfi_restore 22
28
29.cfi_def_cfa 22, 0
30add.d $t0, $tp, $t0, %le_add_r(a)
31.cfi_restore 22
32
a9859f5a
LC
33.cfi_def_cfa 22, 0
34la.tls.ie $t0, a
35.cfi_restore 22
36
37.cfi_def_cfa 22, 0
38la.tls.le $t0, a
39.cfi_restore 22
40
97ce7870 41.cfi_def_cfa 22, 0
42call36 f
43.cfi_restore 22
44
601c741d 45.cfi_endproc