Kernel: Cleanup bootloader headers

Also add custom load addresses for x86_64 target. This allows qemu to
load the kernel with -kernel argument. Without these addresses qemu
would refuse to load as it only supports 32 bit ELFs, but as our kernel
starts in 32 bit mode anyway, we can just load it!
This commit is contained in:
2026-04-13 16:43:30 +03:00
parent c849293f3d
commit d471bbf856
4 changed files with 22 additions and 17 deletions

View File

@@ -11,6 +11,7 @@ SECTIONS
{
g_kernel_execute_start = .;
*(.multiboot)
*(.multiboot2)
*(.bananboot)
*(.text.*)
}