summaryrefslogtreecommitdiffstats
path: root/apps/init/arch/x86_64/link.ld
blob: 79da5cbc87469fa46b923b2bc31b159ef607424b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
OUTPUT_ARCH(i386:x86-64)

PAGESIZE = CONSTANT(MAXPAGESIZE);

SECTIONS
{
    . = 0x1000;
    .text BLOCK(PAGESIZE) : ALIGN(PAGESIZE) { *(.text.start) *(.text) *(.rodata) }
    .data BLOCK(PAGESIZE) : ALIGN(PAGESIZE) { *(.data) *(.bss) }
    __program_end = .;
}