summaryrefslogtreecommitdiff
path: root/tests/multiboot/link.ld
blob: 2eafcffc4f123255befccf11db5b4828be7ee322 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
ENTRY(_start)

SECTIONS
{
    . = 0x100000;
    .text : AT(ADDR(.text)) {
        *(multiboot)
        *(.text)
    }
    .data ALIGN(4096) : AT(ADDR(.data)) {
        *(.data)
    }
    .rodata ALIGN(4096) : AT(ADDR(.rodata)) {
        *(.rodata)
    }
    .bss ALIGN(4096) : {
        *(.bss)
    }
}