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
crt/x32/crti.s Normal file
View file

@ -0,0 +1,9 @@
.section .init
.global _init
_init:
push %rax
.section .fini
.global _fini
_fini:
push %rax

7
crt/x32/crtn.s Normal file
View file

@ -0,0 +1,7 @@
.section .init
pop %rax
ret
.section .fini
pop %rax
ret