diff --git a/bsp/thead-smart/gcc_csky.ld b/bsp/thead-smart/gcc_csky.ld index f7cc25e822..1bdf60e7ba 100644 --- a/bsp/thead-smart/gcc_csky.ld +++ b/bsp/thead-smart/gcc_csky.ld @@ -44,7 +44,7 @@ SECTIONS .text : AT(ADDR(.text)){ . = ALIGN(0x4) ; __stext = . ; - KEEP(*startup.o(*.text*)) + KEEP(*startup_gcc.o(*.text*)) *(.text) *(.text*) *(.text.*)