-c  /* ROM autoinitialization module */
-a  /* LINK USING C CONVENTIONS      */

-heap  0x8000
-stack 0x0A000



MEMORY
{
    DDR3  (RWX) : org = 0x80000000, len = 0x20000000
    MSMC		: org = 0x0C000000, len = 0x001FFFFF

    L1D:     o = 00f00000h   l = 00007FFFh
    L1P:     o = 00e00000h   l = 00007FFFh
    L2SRAM:  o = 10800000h   l = 00080000h
}

SECTIONS
{
  .csl_vect > L2SRAM
  .text > L2SRAM
  .MSMC_buffers      >       MSMC
  .DDR3_buffers      >       DDR3
  .L2_buffers        >       L2SRAM

  GROUP (NEAR_DP)
  {
    .neardata
    .rodata
    .bss
  } load > L2SRAM

  .stack    > L2SRAM
  .cinit    > L2SRAM
  .cio      > L2SRAM
  .const    > L2SRAM
  .data     > L2SRAM
  .far      > L2SRAM
  .switch   > L2SRAM
  .sysmem   > L2SRAM
  .fardata  > L2SRAM

  image_mem > L2SRAM
}
