Kernel now compiles on x32

This commit is contained in:
Alex
2022-11-14 14:54:18 +02:00
parent 042bce48a0
commit cabdc5263e
27 changed files with 803 additions and 19 deletions

View File

@ -3,11 +3,11 @@
.type _init, @function
_init:
push %ebp
movq %esp, %ebp
mov %esp, %ebp
.section .fini
.global _fini
.type _fini, @function
_fini:
push %ebp
movq %esp, %ebp
mov %esp, %ebp

View File

@ -1,7 +1,7 @@
.section .init
popq %ebp
pop %ebp
ret
.section .fini
popq %ebp
pop %ebp
ret