import vanilla x86_64 code as x32

This commit is contained in:
rofl0r 2014-01-07 22:43:34 +01:00
commit 323272db17
75 changed files with 2677 additions and 0 deletions

9
arch/x32/crt_arch.h Normal file
View file

@ -0,0 +1,9 @@
__asm__("\
.text \n\
.global _start \n\
_start: \n\
xor %rbp,%rbp \n\
mov %rsp,%rdi \n\
andq $-16,%rsp \n\
call __cstart \n\
");