LR_GBAROM 0x02000000 0x400000
{
    ER_BootLoader +0
    {
        init_tcm.o (INIT946TCM, +FIRST)   ; Core initialisation inc TCM enable
        __main.o                         ; C Library entry point, must be in a root region
        *  (Region$$Table)               ; this section must be in a root region 
        *  (ZISection$$Table)            ; this section must be in a root region
    }
    
    ER_Absolute +0
    {
        * (+RO)
    }
    
    ER_RW +0
    {
        * (+RW)
        * (+ZI)
    }
    
    HEAP +0 UNINIT
    {
        heap.o (+ZI)                     ; heap follows directly from image data 
    }
    
    ER_ITCM 0x00000000 0x8000
    {
        * (.itcm)
        * (itcm)
    }
    
    ER_DTCM 0x00800000 0x3c00
    {
        * (.dtcm)
    }
}
