aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-loongarch-elf/syscall-1.s
blob: e9acee9e30398532df7ec455803ae9e05733c879 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.globl cc

.text
cc:
	addi.d	$r3,$r3,-16
	st.d	$r1,$r3,8
	la.local $r5,.LC0
	addi.w $r4,$r0,0
	addi.w $r6, $r0,12
	addi.w $r11, $r0, 64
	syscall 0
	ld.d	$r1,$r3,8
	addi.d	$r3,$r3,16
	jirl $r0, $r1, 0
.LC0:
	.ascii	"hello world\012\000"
	.text
	.align	2
	.globl	world
	.type	world, @function