ENTRY(start) SECTIONS { . = 1M; .boot : { /* ensure that the multiboot header is at the beginning */ KEEP(*(.multiboot_header)) } .text : { *(.text) } .rodata : { *(.rodata) } .bss : { *kernel*(.bss) *boot.o(.bss) } /*[Guard page]*/ . += 2M; }