From fd69283f3a58e0463e3909f920af6d910daef53c Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Mon, 3 Aug 2015 17:41:29 +0800 Subject: [PATCH] [BSP] fix ls1b compiling issue --- bsp/ls1bdev/ls1b_ram.lds | 7 +++++++ bsp/ls1bdev/rtconfig.h | 7 ++----- 2 files changed, 9 insertions(+), 5 deletions(-) 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 //
//