diff --git a/kernel/kernel.ld b/kernel/kernel.ld index 6925ddf..4a93b4d 100644 --- a/kernel/kernel.ld +++ b/kernel/kernel.ld @@ -12,6 +12,7 @@ SECTIONS start_ctors = .; KEEP(*( .init_array )); KEEP(*(SORT_BY_INIT_PRIORITY( .init_array.* ))); + *(.ctors) end_ctors = .; start_dtors = .; *(.dtors)