summaryrefslogtreecommitdiff
path: root/linker.ld
blob: 29da3f9934ef174a2da7e3f64ac21e7f2143b782 (plain) (blame)
1
2
3
4
5
6
7
8
9
ENTRY(_start)
SECTIONS
{
    . = 2M;
    .text   BLOCK(4K) : ALIGN(4K) { *(.multiboot_header) *(.text) }
    .rodata BLOCK(4K) : ALIGN(4K) { *(.rodata) }
    .data   BLOCK(4K) : ALIGN(4K) { *(.data) }
    .bss    BLOCK(4K) : ALIGN(4K) { *(COMMON) *(.bss) }
}