未验证 提交 cd4ac30b 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #2106 from zhaojuntao/lds-1224

[bsp] 为常用板卡的 gcc 链接脚本增加 utest section 段
......@@ -11,6 +11,12 @@ SECTIONS
*(.text)
*(.text.*)
/* section information for utest */
. = ALIGN(4);
__rt_utest_tc_tab_start = .;
KEEP(*(UtestTcTab))
__rt_utest_tc_tab_end = .;
/* section information for finsh shell */
. = ALIGN(4);
__fsymtab_start = .;
......
......@@ -31,6 +31,12 @@ SECTIONS
*(.glue_7t)
*(.gnu.linkonce.t*)
/* section information for utest */
. = ALIGN(4);
__rt_utest_tc_tab_start = .;
KEEP(*(UtestTcTab))
__rt_utest_tc_tab_end = .;
/* section information for finsh shell */
. = ALIGN(4);
__fsymtab_start = .;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册