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
crt/x32/crti.s
Normal file
9
crt/x32/crti.s
Normal 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
7
crt/x32/crtn.s
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
.section .init
|
||||
pop %rax
|
||||
ret
|
||||
|
||||
.section .fini
|
||||
pop %rax
|
||||
ret
|
||||
Loading…
Add table
Add a link
Reference in a new issue