Merge pull request #532 from pangweishen/master
[BSP]fix lslc compiling issue when using RT_USING_LIBC.
This commit is contained in:
commit
40044b0ff0
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* File : ls1b_ram.lds
|
* File : ls1c_ram.lds
|
||||||
* This file is part of RT-Thread RTOS
|
* This file is part of RT-Thread RTOS
|
||||||
* COPYRIGHT (C) 2011, RT-Thread Development Team
|
* COPYRIGHT (C) 2011, RT-Thread Development Team
|
||||||
*
|
*
|
||||||
@ -53,6 +53,13 @@ SECTIONS
|
|||||||
__rt_init_end = .;
|
__rt_init_end = .;
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.eh_frame_hdr :
|
||||||
|
{
|
||||||
|
*(.eh_frame_hdr)
|
||||||
|
*(.eh_frame_entry)
|
||||||
|
}
|
||||||
|
.eh_frame : ONLY_IF_RO { KEEP (*(.eh_frame)) }
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
.data :
|
.data :
|
||||||
|
@ -93,7 +93,9 @@
|
|||||||
#define FINSH_THREAD_STACK_SIZE 4096
|
#define FINSH_THREAD_STACK_SIZE 4096
|
||||||
// </section>
|
// </section>
|
||||||
|
|
||||||
|
|
||||||
// <section name="LIBC" description="C Runtime library setting" default="always" >
|
// <section name="LIBC" description="C Runtime library setting" default="always" >
|
||||||
|
#define RT_USING_LIBC
|
||||||
// <bool name="RT_USING_NEWLIB" description="Using newlib library, only available under GNU GCC" default="true" />
|
// <bool name="RT_USING_NEWLIB" description="Using newlib library, only available under GNU GCC" default="true" />
|
||||||
// #define RT_USING_NEWLIB
|
// #define RT_USING_NEWLIB
|
||||||
// <bool name="RT_USING_PTHREADS" description="Using POSIX threads library" default="true" />
|
// <bool name="RT_USING_PTHREADS" description="Using POSIX threads library" default="true" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user