/* $Id: linker.ld 13 2023-10-04 06:14:54Z nishi $ */ ENTRY(_start) SECTIONS { .boot : { *(.multiboot) } . = 0x100000; .text : { *(.note.ident.ammonite) *(.text) } .rodata BLOCK(4K) : ALIGN(4K) { *(.rodata) } .data BLOCK(4K) : ALIGN(4K) { *(.data) } .bss BLOCK(4K) : ALIGN(4K) { *(COMMON) *(.bss) } .comment BLOCK(4K) : ALIGN(4K) { *(.comment) } .note.ident.ammonite BLOCK(4K) : ALIGN(4K) { *(.note.ident.ammonite) } kernel_end = ADDR(.text); }