summaryrefslogtreecommitdiff
path: root/src/sys/arch/amd64/conf/user.ld
blob: 438fbc5236100e58556fc32dcc4d3acbcea2a802 (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
27
28
29
30
31
32
33
OUTPUT_FORMAT(elf64-x86-64)
ENTRY(_start)

SECTIONS
{
    . = 0x1000;

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

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

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

    .bss : ALIGN(8)
    {
        *(COMMON)
        *(.bss)
    }

    /DISCARD/ : {
        *(.eh_frame)
        *(.note .note.*)
    }
}