提交 cbf02c07 编写于 作者: B Bernard Xiong

Merge pull request #365 from BernardXiong/master

[BSP] fix GCC compiling issue in LPC408x bsp
......@@ -15,8 +15,9 @@
#include <rtthread.h>
#include <board.h>
#ifdef RT_USING_COMPONENTS_INIT
#include <components.h>
#endif
/* thread phase init */
void rt_init_thread_entry(void *parameter)
......
......@@ -38,6 +38,12 @@ SECTIONS
__vsymtab_end = .;
. = ALIGN(4);
. = ALIGN(4);
__rt_init_start = .;
KEEP(*(SORT(.rti_fn*)))
__rt_init_end = .;
. = ALIGN(4);
PROVIDE(__ctors_start__ = .);
/* old GCC version uses .ctors */
KEEP(*(SORT(.ctors.*)))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册