rt-thread-am/bsp/abstract-machine/extra.ld
Zihao Yu 624077b98c bsp,abstract-machine: fix the order of .rti_fn* sections
* now initcall can work successfully, and msh can show prompt
2023-10-03 15:18:55 +08:00

19 lines
347 B
Text

SECTIONS {
. = ALIGN(8);
.myextra : {
/* 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 = .;
}
end = .;
_end = .;
_heap_start = ALIGN(0x1000);
}