/*
 * Copyright (c) 2026, Chloe M.
 * Provided under the BSD-3 clause.
 *
 * Description: User linker script
 * Author:      Chloe M.
 */

ENTRY(_start)

SECTIONS {
    /* User programs live here */
    . = 0x9000;

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

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

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

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

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