rt-thread-am/bsp/abstract-machine/extra.ld
Zihao Yu 3257709e16 bsp,am,extra.ld: fix position of .bss.extra
* with the AM link script, the .bss.extra will originally be placed
  after the heap
2024-01-18 19:50:56 +08:00

45 lines
881 B
Text

SECTIONS {
.data.extra : {
/* section information for finsh shell */
__fsymtab_start = .;
KEEP(*(FSymTab))
__fsymtab_end = .;
. = ALIGN(8);
__vsymtab_start = .;
KEEP(*(VSymTab))
__vsymtab_end = .;
. = ALIGN(8);
/* section information for initial. */
. = ALIGN(8);
__rt_init_start = .;
KEEP(*(SORT(.rti_fn*)))
__rt_init_end = .;
. = ALIGN(8);
__rt_utest_tc_tab_start = .;
KEEP(*(UtestTcTab))
__rt_utest_tc_tab_end = .;
. = ALIGN(8);
__am_apps_data_start = .;
*(__am_apps.data*)
*(__am_apps.sdata*)
__am_apps_data_end = .;
. = ALIGN(8);
}
}
INSERT BEFORE .data;
SECTIONS {
.bss.extra : {
. = ALIGN(8);
__am_apps_bss_start = .;
*(__am_apps.bss*)
*(__am_apps.sbss*)
*(__am_apps.scommon*)
__am_apps_bss_end = .;
. = ALIGN(8);
}
}
INSERT BEFORE .bss;