aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/link.ld
blob: 9fad881268cc76f4a666efce15d52deba2e76911 (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
25
26
ENTRY(_start)

SECTIONS
{
    . = 0x10000;

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

    .data : ALIGN(8)
    {
        *(.data)
        *(.data.*)
    }

    .bss : ALIGN(8)
    {
        __bss_start = .;
        *(.bss)
        *(.bss.*)
        __bss_end = .;
    }
}