summaryrefslogtreecommitdiff
path: root/user/lib/entry.S
blob: efaa6527be94d0235e10d8069e25754e4d5eb5b3 (plain)
1
2
3
4
5
6
7
8
9
10
	.globl _start
	.extern main
	.extern exit

	.section .text
	.code64
_start:
	call	main
	movq	%rax, %rdi
	call	exit