aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/boot/crtn.s
AgeCommit message (Collapse)AuthorFilesLines
2025-07-24x86_64: implement robust C++ global initializationFelix Morgner1-9/+0
Implement a comprehensive mechanism to ensure correct C++ runtime initialization before the kernel main function is called. This replaces the previous, incomplete reliance on an `_init` function. The new design robustly handles both legacy `.ctors` and modern `.init_array` initialization schemes used by the GNU toolchain. A single C++ function, `invoke_global_constructors`, now iterates through both arrays of function pointers to ensure all types of global initializers are executed.
2024-09-17build: migrate away from conanFelix Morgner1-0/+9