399 lines
15 KiB
Plaintext
399 lines
15 KiB
Plaintext
/*
|
|
Linker File for Renesas RZ/N2L FSP
|
|
*/
|
|
|
|
INCLUDE memory_regions.ld
|
|
|
|
/* The memory information for each device is done in memory regions file.
|
|
* The starting address and length of memory not defined in memory regions file are defined as 0. */
|
|
|
|
ATCM_PRV_START = DEFINED(ATCM_START) ? ATCM_START : 0;
|
|
ATCM_PRV_LENGTH = DEFINED(ATCM_LENGTH) ? ATCM_LENGTH : 0;
|
|
BTCM_PRV_START = DEFINED(BTCM_START) ? BTCM_START : 0;
|
|
BTCM_PRV_LENGTH = DEFINED(BTCM_LENGTH) ? BTCM_LENGTH : 0;
|
|
SYSTEM_RAM_PRV_START = DEFINED(SYSTEM_RAM_START) ? SYSTEM_RAM_START : 0;
|
|
SYSTEM_RAM_PRV_LENGTH = DEFINED(SYSTEM_RAM_LENGTH) ? SYSTEM_RAM_LENGTH : 0;
|
|
SYSTEM_RAM_MIRROR_PRV_START = DEFINED(SYSTEM_RAM_MIRROR_START) ? SYSTEM_RAM_MIRROR_START : 0;
|
|
SYSTEM_RAM_MIRROR_PRV_LENGTH = DEFINED(SYSTEM_RAM_MIRROR_LENGTH) ? SYSTEM_RAM_MIRROR_LENGTH : 0;
|
|
xSPI0_CS0_SPACE_MIRROR_PRV_START = DEFINED(xSPI0_CS0_SPACE_MIRROR_START) ? xSPI0_CS0_SPACE_MIRROR_START : 0;
|
|
xSPI0_CS0_SPACE_MIRROR_PRV_LENGTH = DEFINED(xSPI0_CS0_SPACE_MIRROR_LENGTH) ? xSPI0_CS0_SPACE_MIRROR_LENGTH : 0;
|
|
xSPI0_CS1_SPACE_MIRROR_PRV_START = DEFINED(xSPI0_CS1_SPACE_MIRROR_START) ? xSPI0_CS1_SPACE_MIRROR_START : 0;
|
|
xSPI0_CS1_SPACE_MIRROR_PRV_LENGTH = DEFINED(xSPI0_CS1_SPACE_MIRROR_LENGTH) ? xSPI0_CS1_SPACE_MIRROR_LENGTH : 0;
|
|
xSPI1_CS0_SPACE_MIRROR_PRV_START = DEFINED(xSPI1_CS0_SPACE_MIRROR_START) ? xSPI1_CS0_SPACE_MIRROR_START : 0;
|
|
xSPI1_CS0_SPACE_MIRROR_PRV_LENGTH = DEFINED(xSPI1_CS0_SPACE_MIRROR_LENGTH) ? xSPI1_CS0_SPACE_MIRROR_LENGTH : 0;
|
|
xSPI1_CS1_SPACE_MIRROR_PRV_START = DEFINED(xSPI1_CS1_SPACE_MIRROR_START) ? xSPI1_CS1_SPACE_MIRROR_START : 0;
|
|
xSPI1_CS1_SPACE_MIRROR_PRV_LENGTH = DEFINED(xSPI1_CS1_SPACE_MIRROR_LENGTH) ? xSPI1_CS1_SPACE_MIRROR_LENGTH : 0;
|
|
CS0_SPACE_MIRROR_PRV_START = DEFINED(CS0_SPACE_MIRROR_START) ? CS0_SPACE_MIRROR_START : 0;
|
|
CS0_SPACE_MIRROR_PRV_LENGTH = DEFINED(CS0_SPACE_MIRROR_LENGTH) ? CS0_SPACE_MIRROR_LENGTH : 0;
|
|
CS2_SPACE_MIRROR_PRV_START = DEFINED(CS2_SPACE_MIRROR_START) ? CS2_SPACE_MIRROR_START : 0;
|
|
CS2_SPACE_MIRROR_PRV_LENGTH = DEFINED(CS2_SPACE_MIRROR_LENGTH) ? CS2_SPACE_MIRROR_LENGTH : 0;
|
|
CS3_SPACE_MIRROR_PRV_START = DEFINED(CS3_SPACE_MIRROR_START) ? CS3_SPACE_MIRROR_START : 0;
|
|
CS3_SPACE_MIRROR_PRV_LENGTH = DEFINED(CS3_SPACE_MIRROR_LENGTH) ? CS3_SPACE_MIRROR_LENGTH : 0;
|
|
CS5_SPACE_MIRROR_PRV_START = DEFINED(CS5_SPACE_MIRROR_START) ? CS5_SPACE_MIRROR_START : 0;
|
|
CS5_SPACE_MIRROR_PRV_LENGTH = DEFINED(CS5_SPACE_MIRROR_LENGTH) ? CS5_SPACE_MIRROR_LENGTH : 0;
|
|
xSPI0_CS0_SPACE_PRV_START = DEFINED(xSPI0_CS0_SPACE_START) ? xSPI0_CS0_SPACE_START : 0;
|
|
xSPI0_CS0_SPACE_PRV_LENGTH = DEFINED(xSPI0_CS0_SPACE_LENGTH) ? xSPI0_CS0_SPACE_LENGTH : 0;
|
|
xSPI0_CS1_SPACE_PRV_START = DEFINED(xSPI0_CS1_SPACE_START) ? xSPI0_CS1_SPACE_START : 0;
|
|
xSPI0_CS1_SPACE_PRV_LENGTH = DEFINED(xSPI0_CS1_SPACE_LENGTH) ? xSPI0_CS1_SPACE_LENGTH : 0;
|
|
xSPI1_CS0_SPACE_PRV_START = DEFINED(xSPI1_CS0_SPACE_START) ? xSPI1_CS0_SPACE_START : 0;
|
|
xSPI1_CS0_SPACE_PRV_LENGTH = DEFINED(xSPI1_CS0_SPACE_LENGTH) ? xSPI1_CS0_SPACE_LENGTH : 0;
|
|
xSPI1_CS1_SPACE_PRV_START = DEFINED(xSPI1_CS1_SPACE_START) ? xSPI1_CS1_SPACE_START : 0;
|
|
xSPI1_CS1_SPACE_PRV_LENGTH = DEFINED(xSPI1_CS1_SPACE_LENGTH) ? xSPI1_CS1_SPACE_LENGTH : 0;
|
|
CS0_SPACE_PRV_START = DEFINED(CS0_SPACE_START) ? CS0_SPACE_START : 0;
|
|
CS0_SPACE_PRV_LENGTH = DEFINED(CS0_SPACE_LENGTH) ? CS0_SPACE_LENGTH : 0;
|
|
CS2_SPACE_PRV_START = DEFINED(CS2_SPACE_START) ? CS2_SPACE_START : 0;
|
|
CS2_SPACE_PRV_LENGTH = DEFINED(CS2_SPACE_LENGTH) ? CS2_SPACE_LENGTH : 0;
|
|
CS3_SPACE_PRV_START = DEFINED(CS3_SPACE_START) ? CS3_SPACE_START : 0;
|
|
CS3_SPACE_PRV_LENGTH = DEFINED(CS3_SPACE_LENGTH) ? CS3_SPACE_LENGTH : 0;
|
|
CS5_SPACE_PRV_START = DEFINED(CS5_SPACE_START) ? CS5_SPACE_START : 0;
|
|
CS5_SPACE_PRV_LENGTH = DEFINED(CS5_SPACE_LENGTH) ? CS5_SPACE_LENGTH : 0;
|
|
|
|
LOADER_PARAM_ADDRESS = xSPI0_CS0_SPACE_PRV_START;
|
|
FLASH_CONTENTS_ADDRESS = LOADER_PARAM_ADDRESS + 0x0000004C;
|
|
LOADER_TEXT_ADDRESS = 0x00102000;
|
|
INTVEC_ADDRESS = 0x00000000;
|
|
TEXT_ADDRESS = 0x00000100;
|
|
NONCACHE_BUFFER_OFFSET = 0x00020000;
|
|
DMAC_LINK_MODE_OFFSET = 0x00044000;
|
|
DATA_NONCACHE_OFFSET = 0x00048000;
|
|
RAM_START = ATCM_PRV_START;
|
|
RAM_LENGTH = ATCM_PRV_LENGTH;
|
|
LOADER_START = BTCM_PRV_START;
|
|
LOADER_LENGTH = BTCM_PRV_LENGTH;
|
|
|
|
/* Define starting addresses and length for data_noncache, DMAC link mode data, CPU-shared non-cache, and CPU-specific non-cache areas. */
|
|
DATA_NONCACHE_START = DEFINED(SYSTEM_RAM_MIRROR_START) ? SYSTEM_RAM_MIRROR_START + SYSTEM_RAM_MIRROR_LENGTH - DATA_NONCACHE_OFFSET : 0;
|
|
DATA_NONCACHE_LENGTH = DEFINED(SYSTEM_RAM_MIRROR_LENGTH) ? 0x00004000 : 0;
|
|
DMAC_LINK_MODE_START = DEFINED(SYSTEM_RAM_MIRROR_START) ? SYSTEM_RAM_MIRROR_START + SYSTEM_RAM_MIRROR_LENGTH - DMAC_LINK_MODE_OFFSET : 0;
|
|
DMAC_LINK_MODE_LENGTH = DEFINED(SYSTEM_RAM_MIRROR_LENGTH) ? 0x00004000 : 0;
|
|
SHARED_NONCACHE_BUFFER_START = DEFINED(SYSTEM_RAM_MIRROR_START) ? SYSTEM_RAM_MIRROR_START + SYSTEM_RAM_MIRROR_LENGTH - 0x00040000 : 0;
|
|
SHARED_NONCACHE_BUFFER_LENGTH = DEFINED(SYSTEM_RAM_MIRROR_LENGTH) ? 0x00020000 : 0;
|
|
NONCACHE_BUFFER_START = DEFINED(SYSTEM_RAM_MIRROR_START) ? SYSTEM_RAM_MIRROR_START + SYSTEM_RAM_MIRROR_LENGTH - NONCACHE_BUFFER_OFFSET : 0;
|
|
NONCACHE_BUFFER_LENGTH = DEFINED(SYSTEM_RAM_MIRROR_LENGTH) ? 0x00020000 : 0;
|
|
|
|
MEMORY
|
|
{
|
|
ATCM : ORIGIN = ATCM_PRV_START, LENGTH = ATCM_PRV_LENGTH
|
|
BTCM : ORIGIN = BTCM_PRV_START, LENGTH = BTCM_PRV_LENGTH
|
|
SYSTEM_RAM : ORIGIN = SYSTEM_RAM_PRV_START, LENGTH = SYSTEM_RAM_PRV_LENGTH
|
|
SYSTEM_RAM_MIRROR : ORIGIN = SYSTEM_RAM_MIRROR_PRV_START, LENGTH = SYSTEM_RAM_MIRROR_PRV_LENGTH
|
|
xSPI0_CS0_SPACE_MIRROR : ORIGIN = xSPI0_CS0_SPACE_MIRROR_PRV_START, LENGTH = xSPI0_CS0_SPACE_MIRROR_PRV_LENGTH
|
|
xSPI0_CS1_SPACE_MIRROR : ORIGIN = xSPI0_CS1_SPACE_MIRROR_PRV_START, LENGTH = xSPI0_CS1_SPACE_MIRROR_PRV_LENGTH
|
|
xSPI1_CS0_SPACE_MIRROR : ORIGIN = xSPI1_CS0_SPACE_MIRROR_PRV_START, LENGTH = xSPI1_CS0_SPACE_MIRROR_PRV_LENGTH
|
|
xSPI1_CS1_SPACE_MIRROR : ORIGIN = xSPI1_CS1_SPACE_MIRROR_PRV_START, LENGTH = xSPI1_CS1_SPACE_MIRROR_PRV_LENGTH
|
|
CS0_SPACE_MIRROR : ORIGIN = CS0_SPACE_MIRROR_PRV_START, LENGTH = CS0_SPACE_MIRROR_PRV_LENGTH
|
|
CS2_SPACE_MIRROR : ORIGIN = CS2_SPACE_MIRROR_PRV_START, LENGTH = CS2_SPACE_MIRROR_PRV_LENGTH
|
|
CS3_SPACE_MIRROR : ORIGIN = CS3_SPACE_MIRROR_PRV_START, LENGTH = CS3_SPACE_MIRROR_PRV_LENGTH
|
|
CS5_SPACE_MIRROR : ORIGIN = CS5_SPACE_MIRROR_PRV_START, LENGTH = CS5_SPACE_MIRROR_PRV_LENGTH
|
|
xSPI0_CS0_SPACE : ORIGIN = xSPI0_CS0_SPACE_PRV_START, LENGTH = xSPI0_CS0_SPACE_PRV_LENGTH
|
|
xSPI0_CS1_SPACE : ORIGIN = xSPI0_CS1_SPACE_PRV_START, LENGTH = xSPI0_CS1_SPACE_PRV_LENGTH
|
|
xSPI1_CS0_SPACE : ORIGIN = xSPI1_CS0_SPACE_PRV_START, LENGTH = xSPI1_CS0_SPACE_PRV_LENGTH
|
|
xSPI1_CS1_SPACE : ORIGIN = xSPI1_CS1_SPACE_PRV_START, LENGTH = xSPI1_CS1_SPACE_PRV_LENGTH
|
|
CS0_SPACE : ORIGIN = CS0_SPACE_PRV_START, LENGTH = CS0_SPACE_PRV_LENGTH
|
|
CS2_SPACE : ORIGIN = CS2_SPACE_PRV_START, LENGTH = CS2_SPACE_PRV_LENGTH
|
|
CS3_SPACE : ORIGIN = CS3_SPACE_PRV_START, LENGTH = CS3_SPACE_PRV_LENGTH
|
|
CS5_SPACE : ORIGIN = CS5_SPACE_PRV_START, LENGTH = CS5_SPACE_PRV_LENGTH
|
|
RAM : ORIGIN = RAM_START, LENGTH = RAM_LENGTH
|
|
LOADER_STACK : ORIGIN = LOADER_START, LENGTH = LOADER_LENGTH
|
|
DUMMY : ORIGIN = RAM_START, LENGTH = RAM_LENGTH
|
|
DATA_NONCACHE : ORIGIN = DATA_NONCACHE_START, LENGTH = DATA_NONCACHE_LENGTH
|
|
DMAC_LINK_MODE : ORIGIN = DMAC_LINK_MODE_START, LENGTH = DMAC_LINK_MODE_LENGTH
|
|
SHARED_NONCACHE_BUFFER : ORIGIN = SHARED_NONCACHE_BUFFER_START, LENGTH = SHARED_NONCACHE_BUFFER_LENGTH
|
|
NONCACHE_BUFFER : ORIGIN = NONCACHE_BUFFER_START, LENGTH = NONCACHE_BUFFER_LENGTH
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
.loader_param LOADER_PARAM_ADDRESS : AT (LOADER_PARAM_ADDRESS)
|
|
{
|
|
KEEP(*(.loader_param))
|
|
} > xSPI0_CS0_SPACE
|
|
.flash_contents FLASH_CONTENTS_ADDRESS : AT (FLASH_CONTENTS_ADDRESS)
|
|
{
|
|
_mloader_text = .;
|
|
. = . + (_loader_text_end - _loader_text_start);
|
|
_mloader_data = .;
|
|
. = . + (_loader_data_end - _loader_data_start);
|
|
_mfvector = .;
|
|
. = . + (_fvector_end - _fvector_start);
|
|
_mtext = .;
|
|
. = . + (_text_end - _text_start);
|
|
_mdummy = .;
|
|
. = . + (_dummy_end - _dummy_start);
|
|
_mdata = .;
|
|
. = . + (_data_end - _data_start);
|
|
_mdata_noncache = .;
|
|
. = . + (_data_noncache_end - _data_noncache_start);
|
|
flash_contents_end = .;
|
|
} > xSPI0_CS0_SPACE
|
|
.loader_text LOADER_TEXT_ADDRESS : AT (_mloader_text)
|
|
{
|
|
_loader_text_start = .;
|
|
*(.loader_text)
|
|
*/fsp/src/bsp/cmsis/Device/RENESAS/Source/*.o(.text*)
|
|
*/fsp/src/bsp/mcu/all/*/bsp_irq_core.o(.text*)
|
|
*/fsp/src/bsp/mcu/all/bsp_clocks.o(.text*)
|
|
*/fsp/src/bsp/mcu/all/bsp_irq.o(.text*)
|
|
*/fsp/src/bsp/mcu/all/bsp_register_protection.o(.text*)
|
|
*/fsp/src/bsp/mcu/all/bsp_cache.o(.text*)
|
|
*/fsp/src/r_ioport/r_ioport.o(.text*)
|
|
KEEP(*(.warm_start))
|
|
. = . + (512 - ((. - _loader_text_start) % 512));
|
|
_loader_text_end = .;
|
|
} > LOADER_STACK
|
|
.loader_data : AT (_mloader_data)
|
|
{
|
|
_loader_data_start = .;
|
|
__loader_data_start = .;
|
|
*/fsp/src/bsp/cmsis/Device/RENESAS/Source/*.o(.data*)
|
|
*/fsp/src/bsp/cmsis/Device/RENESAS/Source/*/system_core.o(.rodata*)
|
|
*/fsp/src/bsp/mcu/all/*/bsp_irq_core.o(.data*)
|
|
*/fsp/src/bsp/mcu/all/bsp_clocks.o(.data*)
|
|
*/fsp/src/bsp/mcu/all/bsp_irq.o(.data*)
|
|
*/fsp/src/bsp/mcu/all/bsp_register_protection.o(.data*)
|
|
*/fsp/src/bsp/mcu/all/bsp_cache.o(.data*)
|
|
*/fsp/src/r_ioport/r_ioport.o(.data*)
|
|
. = ALIGN(4);
|
|
__loader_data_end = .;
|
|
__loader_bss_start = .;
|
|
*/fsp/src/bsp/cmsis/Device/RENESAS/Source/*.o(.bss*)
|
|
*/fsp/src/bsp/mcu/all/*/bsp_irq_core.o(.bss*)
|
|
*/fsp/src/bsp/mcu/all/bsp_clocks.o(.bss*)
|
|
*/fsp/src/bsp/mcu/all/bsp_irq.o(.bss*)
|
|
*/fsp/src/bsp/mcu/all/bsp_register_protection.o(.bss*)
|
|
*/fsp/src/bsp/mcu/all/bsp_cache.o(.bss*)
|
|
*/fsp/src/r_ioport/r_ioport.o(.bss*)
|
|
*/fsp/src/bsp/cmsis/Device/RENESAS/Source/*.o(COMMON)
|
|
*/fsp/src/bsp/mcu/all/*/bsp_irq_core.o(COMMON)
|
|
*/fsp/src/bsp/mcu/all/bsp_clocks.o(COMMON)
|
|
*/fsp/src/bsp/mcu/all/bsp_irq.o(COMMON)
|
|
*/fsp/src/bsp/mcu/all/bsp_register_protection.o(.COMMON)
|
|
*/fsp/src/bsp/mcu/all/bsp_cache.o(COMMON)
|
|
*/fsp/src/r_ioport/r_ioport.o(.COMMON)
|
|
. = ALIGN(4);
|
|
__loader_bss_end = . ;
|
|
_loader_data_end = .;
|
|
} > LOADER_STACK
|
|
.intvec INTVEC_ADDRESS : AT (_mfvector)
|
|
{
|
|
_fvector_start = .;
|
|
KEEP(*(.intvec))
|
|
_fvector_end = .;
|
|
} > RAM
|
|
.text TEXT_ADDRESS : AT (_mtext)
|
|
{
|
|
_text_start = .;
|
|
*(.text*)
|
|
|
|
KEEP(*(.reset_handler))
|
|
KEEP(*(.init))
|
|
KEEP(*(.fini))
|
|
|
|
/* .ctors */
|
|
*crtbegin.o(.ctors)
|
|
*crtbegin?.o(.ctors)
|
|
*(EXCLUDE_FILE(*crtend?.o *crtend.o) .ctors)
|
|
*(SORT(.ctors.*))
|
|
*(.ctors)
|
|
_ctor_end = .;
|
|
|
|
/* .dtors */
|
|
*crtbegin.o(.dtors)
|
|
*crtbegin?.o(.dtors)
|
|
*(EXCLUDE_FILE(*crtend?.o *crtend.o) .dtors)
|
|
*(SORT(.dtors.*))
|
|
*(.dtors)
|
|
_dtor_end = .;
|
|
|
|
|
|
/* section information for finsh shell */
|
|
. = ALIGN(4);
|
|
__fsymtab_start = .;
|
|
KEEP(*(FSymTab))
|
|
__fsymtab_end = .;
|
|
|
|
. = ALIGN(4);
|
|
__vsymtab_start = .;
|
|
KEEP(*(VSymTab))
|
|
__vsymtab_end = .;
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
|
KEEP(*(FalPartTable))
|
|
|
|
KEEP(*(.eh_frame*))
|
|
} > RAM
|
|
.rvectors :
|
|
{
|
|
_rvectors_start = .;
|
|
KEEP(*(.rvectors))
|
|
_rvectors_end = .;
|
|
} > RAM
|
|
.ARM.extab :
|
|
{
|
|
*(.ARM.extab* .gnu.linkonce.armextab.*)
|
|
} > RAM
|
|
__exidx_start = .;
|
|
.ARM.exidx :
|
|
{
|
|
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
|
|
} > RAM
|
|
__exidx_end = .;
|
|
.got :
|
|
{
|
|
*(.got)
|
|
*(.got.plt)
|
|
. = ALIGN(4);
|
|
_text_end = .;
|
|
} > RAM
|
|
.dummy _fvector_end : AT (_mdummy)
|
|
{
|
|
_dummy_start = .;
|
|
KEEP(*(.dummy));
|
|
_dummy_end = .;
|
|
} > DUMMY
|
|
.data : AT (_mdata)
|
|
{
|
|
_data_start = .;
|
|
|
|
*(vtable)
|
|
*(.data.*)
|
|
*(.data)
|
|
|
|
*(.rodata*)
|
|
_erodata = .;
|
|
|
|
. = ALIGN(4);
|
|
/* preinit data */
|
|
PROVIDE_HIDDEN (__preinit_array_start = .);
|
|
KEEP(*(.preinit_array))
|
|
PROVIDE_HIDDEN (__preinit_array_end = .);
|
|
|
|
. = ALIGN(4);
|
|
/* init data */
|
|
PROVIDE_HIDDEN (__init_array_start = .);
|
|
KEEP(*(SORT(.init_array.*)))
|
|
KEEP(*(.init_array))
|
|
PROVIDE_HIDDEN (__init_array_end = .);
|
|
|
|
. = ALIGN(4);
|
|
/* finit data */
|
|
PROVIDE_HIDDEN (__fini_array_start = .);
|
|
KEEP(*(SORT(.fini_array.*)))
|
|
KEEP(*(.fini_array))
|
|
PROVIDE_HIDDEN (__fini_array_end = .);
|
|
|
|
KEEP(*(.jcr*))
|
|
|
|
. = ALIGN(4);
|
|
|
|
/* All data end */
|
|
_data_end = .;
|
|
} > RAM
|
|
.bss :
|
|
{
|
|
. = ALIGN(4);
|
|
__bss_start__ = .;
|
|
_bss = .;
|
|
*(.bss*)
|
|
*(COMMON)
|
|
. = ALIGN(4);
|
|
__bss_end__ = .;
|
|
_ebss = .;
|
|
_end = .;
|
|
} > RAM
|
|
.heap (NOLOAD) :
|
|
{
|
|
. = ALIGN(8);
|
|
__HeapBase = .;
|
|
/* Place the STD heap here. */
|
|
KEEP(*(.heap))
|
|
__HeapLimit = .;
|
|
} > ATCM
|
|
.thread_stack (NOLOAD):
|
|
{
|
|
. = ALIGN(8);
|
|
__ThreadStackBase = .;
|
|
/* Place the Thread stacks here. */
|
|
KEEP(*(.stack*))
|
|
__ThreadStackLimit = .;
|
|
} > RAM
|
|
.sys_stack (NOLOAD) :
|
|
{
|
|
. = ALIGN(8);
|
|
__SysStackBase = .;
|
|
/* Place the sys_stack here. */
|
|
KEEP(*(.sys_stack))
|
|
__SysStackLimit = .;
|
|
} > LOADER_STACK
|
|
.svc_stack (NOLOAD) :
|
|
{
|
|
. = ALIGN(8);
|
|
__SvcStackBase = .;
|
|
/* Place the svc_stack here. */
|
|
KEEP(*(.svc_stack))
|
|
__SvcStackLimit = .;
|
|
} > LOADER_STACK
|
|
.irq_stack (NOLOAD) :
|
|
{
|
|
. = ALIGN(8);
|
|
__IrqStackBase = .;
|
|
/* Place the irq_stack here. */
|
|
KEEP(*(.irq_stack))
|
|
__IrqStackLimit = .;
|
|
} > LOADER_STACK
|
|
.fiq_stack (NOLOAD) :
|
|
{
|
|
. = ALIGN(8);
|
|
__FiqStackBase = .;
|
|
/* Place the fiq_stack here. */
|
|
KEEP(*(.fiq_stack))
|
|
__FiqStackLimit = .;
|
|
} > LOADER_STACK
|
|
.und_stack (NOLOAD) :
|
|
{
|
|
. = ALIGN(8);
|
|
__UndStackBase = .;
|
|
/* Place the und_stack here. */
|
|
KEEP(*(.und_stack))
|
|
__UndStackLimit = .;
|
|
} > LOADER_STACK
|
|
.abt_stack (NOLOAD) :
|
|
{
|
|
. = ALIGN(8);
|
|
__AbtStackBase = .;
|
|
/* Place the abt_stack here. */
|
|
KEEP(*(.abt_stack))
|
|
__AbtStackLimit = .;
|
|
} > LOADER_STACK
|
|
.data_noncache DATA_NONCACHE_START : AT (_mdata_noncache)
|
|
{
|
|
. = ALIGN(4);
|
|
_data_noncache_start = .;
|
|
KEEP(*(.data_noncache*))
|
|
_data_noncache_end = .;
|
|
} > DATA_NONCACHE
|
|
.dmac_link_mode DMAC_LINK_MODE_START : AT (DMAC_LINK_MODE_START)
|
|
{
|
|
. = ALIGN(4);
|
|
_DmacLinkMode_start = .;
|
|
KEEP(*(.dmac_link_mode*))
|
|
_DmacLinkMode_end = .;
|
|
} > DMAC_LINK_MODE
|
|
.shared_noncache_buffer SHARED_NONCACHE_BUFFER_START (NOLOAD) : AT (SHARED_NONCACHE_BUFFER_START)
|
|
{
|
|
. = ALIGN(32);
|
|
_sncbuffer_start = .;
|
|
KEEP(*(.shared_noncache_buffer*))
|
|
_sncbuffer_end = .;
|
|
} > SHARED_NONCACHE_BUFFER
|
|
.noncache_buffer NONCACHE_BUFFER_START (NOLOAD) : AT (NONCACHE_BUFFER_START)
|
|
{
|
|
. = ALIGN(32);
|
|
_ncbuffer_start = .;
|
|
KEEP(*(.noncache_buffer*))
|
|
_ncbuffer_end = .;
|
|
} > NONCACHE_BUFFER
|
|
}
|