summaryrefslogtreecommitdiff
path: root/arch/x32/crt_arch.h
blob: db692950bf7bc3c2c61ce4f38a28e696766aec8e (plain) (blame)
1
2
3
4
5
6
7
8
9
__asm__("\
.text \n\
.global _start \n\
_start: \n\
	xor %rbp,%rbp \n\
	mov %rsp,%rdi \n\
	andq $-16,%rsp \n\
	call __cstart \n\
");