diff --git a/bsp/lpc176x/rtthread-lpc17xx.ld b/bsp/lpc176x/rtthread-lpc17xx.ld index fa18c2d48..3eb7f962e 100644 --- a/bsp/lpc176x/rtthread-lpc17xx.ld +++ b/bsp/lpc176x/rtthread-lpc17xx.ld @@ -37,6 +37,10 @@ SECTIONS KEEP(*(VSymTab)) __vsymtab_end = .; . = ALIGN(4); + __rt_init_start = .; + KEEP(*(.rti_fn*)) + __rt_init_end = .; + . = ALIGN(4); . = ALIGN(4); _etext = .;