Newer
Older
tree-os / linker.ld
@Lukas Lukas on 28 Mar 2021 317 bytes Initial commit after relocation
ENTRY(_start)

SECTIONS {
    . = 0x00100000;  /* load code at 1 MB */

    .text ALIGN (0x1000):
    {
        *(.text)
    }

    .rodata ALIGN (0x1000):
    {
        *(.rodata*)
    }

    .data ALIGN (0x1000):
    {
        *(.data)
    }

    .bss ALIGN (0x1000):
    {
        *(COMMON)
        *(.bss)
    }
}