about summary refs log blame commit diff stats
path: root/kernel.soso/link.ld
blob: 1787a9760afb524e5f8a8bd3add94c2f9a520226 (plain) (tree)

































                                                       
ENTRY(_start)

SECTIONS
{
        . = 1M;

        /* Code. */
        .text BLOCK(4K) : ALIGN(4K)
        {
                *(.multiboot)
                *(.text)
        }

        /* Read-only data. */
        .rodata BLOCK(4K) : ALIGN(4K)
        {
                *(.rodata)
        }

        /* Read-write data (initialized) */
        .data BLOCK(4K) : ALIGN(4K)
        {
                *(.data)
        }

        /* Read-write data (uninitialized) and stack */
        .bss BLOCK(4K) : ALIGN(4K)
        {
                *(COMMON)
                *(.bss)
        }

       _end = .;
}