[BSP] fix GCC compiling issue in LPC408x bsp
This commit is contained in:
parent
6281ab2bbe
commit
fdfb4dad79
@ -15,8 +15,9 @@
|
|||||||
#include <rtthread.h>
|
#include <rtthread.h>
|
||||||
|
|
||||||
#include <board.h>
|
#include <board.h>
|
||||||
|
#ifdef RT_USING_COMPONENTS_INIT
|
||||||
#include <components.h>
|
#include <components.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* thread phase init */
|
/* thread phase init */
|
||||||
void rt_init_thread_entry(void *parameter)
|
void rt_init_thread_entry(void *parameter)
|
||||||
|
@ -38,6 +38,12 @@ SECTIONS
|
|||||||
__vsymtab_end = .;
|
__vsymtab_end = .;
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
|
|
||||||
|
. = ALIGN(4);
|
||||||
|
__rt_init_start = .;
|
||||||
|
KEEP(*(SORT(.rti_fn*)))
|
||||||
|
__rt_init_end = .;
|
||||||
|
. = ALIGN(4);
|
||||||
|
|
||||||
PROVIDE(__ctors_start__ = .);
|
PROVIDE(__ctors_start__ = .);
|
||||||
/* old GCC version uses .ctors */
|
/* old GCC version uses .ctors */
|
||||||
KEEP(*(SORT(.ctors.*)))
|
KEEP(*(SORT(.ctors.*)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user