import vanilla x86_64 code as x32
This commit is contained in:
parent
0f169cbb79
commit
323272db17
75 changed files with 2677 additions and 0 deletions
9
arch/x32/crt_arch.h
Normal file
9
arch/x32/crt_arch.h
Normal 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\
|
||||
");
|
||||
Loading…
Add table
Add a link
Reference in a new issue