1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 04:57:45 +00:00

Kernel: Call the constructors in the aarch64 init function

Now that we have separated the kmalloc.cpp constructors into a separate
library, we can actually call the constructors in the init function.
This commit is contained in:
Timon Kruiper 2022-05-09 11:37:09 +02:00 committed by Linus Groh
parent 2e49d6b001
commit ed4bfaed12
2 changed files with 19 additions and 0 deletions

View file

@ -22,6 +22,10 @@ SECTIONS
.rodata ALIGN(4K) : AT (ADDR(.rodata))
{
start_heap_ctors = .;
*libkernel_heap.a:*(.init_array)
end_heap_ctors = .;
start_ctors = .;
*(.init_array)
end_ctors = .;