diff --git a/bsp/ls1bdev/ls1b_ram.lds b/bsp/ls1bdev/ls1b_ram.lds index 95fb2496f8..d453983d7e 100644 --- a/bsp/ls1bdev/ls1b_ram.lds +++ b/bsp/ls1bdev/ls1b_ram.lds @@ -53,6 +53,13 @@ SECTIONS __rt_init_end = .; . = ALIGN(4); } + + .eh_frame_hdr : + { + *(.eh_frame_hdr) + *(.eh_frame_entry) + } + .eh_frame : ONLY_IF_RO { KEEP (*(.eh_frame)) } . = ALIGN(4); .data : diff --git a/bsp/ls1bdev/rtconfig.h b/bsp/ls1bdev/rtconfig.h index 788c961d7d..7490da534e 100644 --- a/bsp/ls1bdev/rtconfig.h +++ b/bsp/ls1bdev/rtconfig.h @@ -93,13 +93,10 @@ #define FINSH_THREAD_STACK_SIZE 4096 // +//
#define RT_USING_LIBC - -//
-// -//#define RT_USING_NEWLIB // -// #define RT_USING_PTHREADS +#define RT_USING_PTHREADS //
//