summaryrefslogtreecommitdiff
path: root/bsp/qemu-vexpress-a9
diff options
context:
space:
mode:
authorMurphyZhao <[email protected]>2018-12-24 10:55:37 +0800
committerMurphyZhao <[email protected]>2018-12-24 17:28:52 +0800
commitd68291d47a2344341cbec6207677cd38ddf483b7 (patch)
tree13a66f7bf92a83297d8e18eeaadd2a5eacd40d8a /bsp/qemu-vexpress-a9
parent6db31e30c7ea5ebc33efe294736ae2da6e7e6daa (diff)
[bsp] 为常用板卡的 gcc 链接脚本增加 utest section 段
Signed-off-by: MurphyZhao <[email protected]>
Diffstat (limited to 'bsp/qemu-vexpress-a9')
-rw-r--r--bsp/qemu-vexpress-a9/link.lds6
1 files changed, 6 insertions, 0 deletions
diff --git a/bsp/qemu-vexpress-a9/link.lds b/bsp/qemu-vexpress-a9/link.lds
index 78c38cde11..13854a2c01 100644
--- a/bsp/qemu-vexpress-a9/link.lds
+++ b/bsp/qemu-vexpress-a9/link.lds
@@ -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 = .;