RTL00_HelloWorld/lib/cpu/rtl8710/rtl8710.ld

49 lines
932 B
Text
Raw Normal View History

2016-09-13 09:31:00 +00:00
MEMORY{
tcm (rwx) : ORIGIN = 0x1FFF0000, LENGTH = 64k
ram (rwx) : ORIGIN = 0x10000000, LENGTH = 448k
}
PROVIDE(STACK_TOP = 0x1FFF0000 + 64k);
SECTIONS{
__rom_bss_start__ = 0x10000300;
__rom_bss_end__ = 0x10000bc8;
.text : {
__text_beg__ = . ;
*(.vectors*) *(.header) *(.text) *(.text*) *(.rodata) *(.rodata*) *(.glue_7) *(.glue_7t) *(.eh_frame) *(.ARM.extab*) . = ALIGN(4); __text_end__ = . ;
} >ram
.data : {
. = ALIGN(4);
__data_beg__ = . ;
*(.ram_vectors) *(.data) *(.data*) *(.ram_func) . = ALIGN(4);
__data_end__ = . ;
} >ram
.bss : {
. = ALIGN(4);
__bss_beg__ = . ;
*(.bss) *(COMMON) . = ALIGN(4); __bss_end__ = . ;
} >ram
__exidx_start = .;
.ARM.exidx : {
___exidx_start = . ;
*(.ARM.exidx*) ;
___exidx_end = . ; } >ram
__exidx_end = .;
.ARM.extab : {
*(.ARM.extab*)
} >ram
. = ALIGN(4);
end = .;
PROVIDE (end = .);
}
INCLUDE "export-rom_v03.txt"