summaryrefslogtreecommitdiff
path: root/kernel/src/linker.ld
blob: d187fd2b38b4ec04e1f1e5316a6331a097bd9972 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ENTRY(start)

SECTIONS {
    . = 1M;
    
    .boot :
    {
        /* ensure that the multiboot heater is at the beginning */
        KEEP(*(.multiboot_header))
    }

    .text :
    {
        *(.text)
    }
    rodata : 
    {
        *(.rodata)
    }
    .bss :
    {
        *(.bss)
    }
}