aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/sysdeps/linux/riscv64/crt-src/Scrt1.S
blob: 9ee86252647c912f8b0a83db6693f374ff3bf4b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.section .text
.global _start
_start:
	.weak __global_pointer$
	.hidden __global_pointer$
	.option push
	.option norelax
	lla gp, __global_pointer$
	.option pop

	mv a0, sp
	la a1, main
	call __mlibc_entry@plt
	unimp


.section .note.GNU-stack,"",%progbits