aboutsummaryrefslogtreecommitdiff
path: root/libs/libc/crt/crt0.asm
blob: e002952744dc86b81d9b9d381d558c6ef157edf8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; MIT License, Copyright (c) 2020 Marvin Borner

section .text

extern main
extern exit
extern atexit_trigger

global _start
_start:
	call main

	push eax
	call exit
	jmp $