[kernel] Remove old unused crti/crtn

These were never used because clang generates .ctors and .dtors instead
of .init and .fini
This commit is contained in:
2020-10-07 20:18:49 -07:00
parent 97ea77bd27
commit 2ad90dcb5c
3 changed files with 0 additions and 26 deletions

View File

@@ -10,7 +10,6 @@ modules:
includes:
- src/kernel
source:
- src/kernel/crti.s
- src/kernel/apic.cpp
- src/kernel/assert.cpp
- src/kernel/boot.s
@@ -59,7 +58,6 @@ modules:
- src/kernel/task.s
- src/kernel/vm_mapper.cpp
- src/kernel/vm_space.cpp
- src/kernel/crtn.s
boot:
kind: exe

View File

@@ -1,14 +0,0 @@
section .init
global _init:function
_init:
push rbp
mov rbp, rsp
; Control flow falls through to other .init sections
section .fini
global _fini:function
_fini:
push rbp
mov rbp, rsp
; Control flow falls through to other .fini sections

View File

@@ -1,10 +0,0 @@
section .init
; Control flow falls through to here from other .init sections
pop rbp
ret
section .fini
; Control flow falls through to here from other .fini sections
pop rbp
ret