--entry_point="code_start"


/* Specify the system memory map */

MEMORY
{
    SRAM_LDAx   : o=0x200E0000, l=0x20000
    SRAM_CDAx   : o=0x20120000, l=0x30000
    SRAM_LPAx   : o=0x20100000, l=0x10000
    SRAM_CPAx   : o=0x20110000, l=0x10000
}

/* Specify the sections allocation into memory */

SECTIONS
{
    codestart   : {} > 0x20100000

    .text       : {} >> SRAM_LPAx | SRAM_CPAx
    .TI.ramfunc : {} >> SRAM_LPAx | SRAM_CPAx
    .const      : {} >> SRAM_LPAx | SRAM_CPAx
    .rodata     : {} >> SRAM_LPAx | SRAM_CPAx
    .init_array : {} >> SRAM_LPAx | SRAM_CPAx
    .cinit      : {} >  SRAM_LPAx | SRAM_CPAx

    .data       : {} >> SRAM_LDAx | SRAM_CDAx
    .bss        : {} >> SRAM_LDAx | SRAM_CDAx
    .cio        : {} >> SRAM_LDAx | SRAM_CDAx
    .stack      : {} >  SRAM_LDAx | SRAM_CDAx
    .sysmem     : {} >  SRAM_LDAx | SRAM_CDAx
}