/* link.ld (i386) — multiboot kernels load at 1 MiB. The multiboot * header must appear within the first 8 KiB, so put it first. */ OUTPUT_FORMAT(elf32-i386) ENTRY(_start) SECTIONS { . = 0x00100000; /* 1 MiB */ .text : { *(.multiboot) KEEP(*(.text.boot)) *(.text .text.*) } .rodata : { *(.rodata .rodata.*) } .data : { *(.data .data.*) } .bss : { *(.bss .bss.*) *(COMMON) } }