;/****************************************************************************************
;* @file map.txt
;*
;* @brief This file is the CEVA XC linker base script. It is copied at run time just in order
;*        to complete the object file list in between crt0 and crtn objects.
;*
;*        The rest of the file lines are copied identically and the resulting.lnk file is
;*        used as linker script for the COFFLNK CEVA Linker program.
;*
;* Copyright (C) RivieraWaves 2011-2019
;*
;****************************************************************************************
;*/
;-----------------------------------------------------------------------------------------
; ORDERED LIST OF OBJECT FILES - completed at linker run
;-----------------------------------------------------------------------------------------
objects:

;-----------------------------------------------------------------------------------------
; ORDERED LIST OF ALL LIBRARY OBJECTS
;-----------------------------------------------------------------------------------------
libraries:
    %TL4TOOLS%/libs/%CPU%/audio/no_bubbles/libc.lib
    %TL4TOOLS%/libs/%CPU%/audio/no_bubbles/tl4lib.lib

;-----------------------------------------------------------------------------------------
; CLASSES
;-----------------------------------------------------------------------------------------
classes:
    ;;8 mem blocks of 32K each
    SHRAM [D:08000000, 0x30000] external
    LAMAC [D:08880000, 0x80000] external
    MIB   [D:0C180400, 0x400] external


code:
segment 0
    inttbl  
    .text
    ctor_sect   
    crtn_ctor_sect  at next 
    dtor_sect   
    crtn_dtor_sect  at next 

data:
segment 0
    __STACK_SECT    lo align 0x2 size 0x800 
    .data   lo align 0x4 
    .bss    lo
    const_data  lo align 0x4 
    __MALLOC_SECT   lo noload 
    __OUTPORT_SECT  lo noload 
    __INPORT_SECT   lo noload 

SHRAM:
    SHRAMIPC lo noload
    SHRAM noload
    __sshram at lo symbol
    __eshram at next symbol
    __trace_start at next symbol
    __trace_end at hi symbol

LAMAC:
    LARAMMAC lo noload

MIB:
    MIB lo noload
    