[bsp] 为常用板卡的 gcc 链接脚本增加 utest section 段
Signed-off-by: MurphyZhao <d2014zjt@163.com>
This commit is contained in:
parent
6db31e30c7
commit
d68291d47a
|
@ -11,6 +11,12 @@ SECTIONS
|
||||||
*(.text)
|
*(.text)
|
||||||
*(.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 */
|
/* section information for finsh shell */
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
__fsymtab_start = .;
|
__fsymtab_start = .;
|
||||||
|
|
|
@ -31,6 +31,12 @@ SECTIONS
|
||||||
*(.glue_7t)
|
*(.glue_7t)
|
||||||
*(.gnu.linkonce.t*)
|
*(.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 */
|
/* section information for finsh shell */
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
__fsymtab_start = .;
|
__fsymtab_start = .;
|
||||||
|
|
Loading…
Reference in New Issue