/* memory-config builder in ACoreIDE by qxbin*/ /*21 Mar 2025 10:47:48 GMT*/ ENTRY(_start) SECTIONS { _vectors_start = . ; .vector BLOCK(0x00001000) : { *(.vectors); . = ALIGN(4096); ; } _vectors_end = . ; _vectors_size = SIZEOF(.vector); _rom_vectors_start = . ; _rom_vectors_end = . ; _code_start = . ; .text BLOCK(0x00001000) : { CREATE_OBJECT_SYMBOLS *( .text ) ; *(.m_hdr) ; __EH_FRAME_BEGIN__ = .; *(.eh_frame) ; *(.gnu.linkonce.t*) ; . = ALIGN(4); ___CTOR_LIST__ = .; __CTOR_LIST__ = .; LONG (-1); *(.ctors); *(.ctor); LONG (0); __CTOR_END__ = .; ___DTOR_LIST__ = .; __DTOR_LIST__ = .; LONG (-1); *(.dtors); *(.dtor); LONG (0); __DTOR_END__ = .; *(.gnu.linkonce.r*); *(.glue_7) ; *(.glue_7t); *(.rodata); *(.rodata.*); *(.init); *(.jcr); *(.data.rel.local); *(.fini); *(.got*); *(.fixup); *(.interface); . = ALIGN(4096); ; } _code_end = . ; _code_size = SIZEOF(.text); _rom_code_start = . ; _rom_code_end = . ; _data_start = . ; .data BLOCK(0x00001000) : { *(.data); *(.gnu.linkonce.d*); *(.sdata*); *(.flash*); *(.gcc_except_table); *(.init_array*); *(.fini_array*); . = ALIGN(4); shell_cmd_start = .; *(.data.shellCmd) ; shell_cmd_end = .; . = ALIGN(4096); ; } _data_end = . ; _data_size = SIZEOF(.data); _rom_data_start = . ; _rom_data_end = . ; _exidx_start = . ; .exidx BLOCK(0x00001000) : { *(.ARM.exidx* .gnu.linkonce.armexidx.*); } _exidx_end = . ; _exidx_size = SIZEOF(.exidx); _rom_exidx_start = . ; _rom_exidx_end = . ; _bss_start = . ; .bss BLOCK(0x00001000) : { *(.bss); *(COMMON); *(.sbss); . = ALIGN(4096); ; } _bss_end = . ; _bss_size = SIZEOF(.bss); _pgheap_start = . ; pgheap BLOCK(0x00000004) : { } _pgheap_end = . ; _pgheap_size = SIZEOF(pgheap); _crtl_heap_start = . ; HEAP BLOCK(0x00000004) : { } _crtl_heap_end = . ; _crtl_heap_size = SIZEOF(HEAP); _start_start = . ; .start BLOCK(0x00001000) : { *(.start); . = ALIGN(4096); ; } _start_start = . ; _start_size = SIZEOF(.start); _rom_start_start = . ; _rom_start_end = . ; } load__code_start =( 0x00001000-1 )&~(0x00001000 -1 ); load__data_start =( load__code_start + _code_size + ( 0x00001000 -1 ))&~(0x00001000 -1 ); load__bss_start =( load__data_start + _data_size + ( 0x00001000 -1 ))&~(0x00001000 -1 );