rulimine/test/multiboot.ld
Andy-Python-Programmer becf92eceb tests: add a basic test multiboot1 kernel
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-11-10 14:24:57 +01:00

36 lines
433 B
Plaintext

ENTRY(_start)
SECTIONS {
. = 1M;
.boot :
{
/* Ensure that the multiboot header is at the beginning! */
*(.multiboot_header)
}
. = ALIGN(4K);
.text :
{
*(.text .text.*)
}
. = ALIGN(4K);
.rodata :
{
*(.rodata.*)
}
. = ALIGN(4K);
.data :
{
*(.data .data.*)
}
. = ALIGN(4K);
.bss :
{
*(.bss .bss.*)
}
}