Skip to content

Commit 0f2efbb

Browse files
committed
modify linker for supporting the utest
1 parent 4d063ac commit 0f2efbb

File tree

1 file changed

+6
-0
lines changed
  • bsp/gd32/risc-v/gd32vw553h-eval/board/linker_scripts

1 file changed

+6
-0
lines changed

bsp/gd32/risc-v/gd32vw553h-eval/board/linker_scripts/link.lds

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ SECTIONS
6262
__rt_init_end = .;
6363
. = ALIGN(4);
6464

65+
/* section information for utest */
66+
. = ALIGN(4);
67+
__rt_utest_tc_tab_start = .;
68+
KEEP(*(UtestTcTab))
69+
__rt_utest_tc_tab_end = .;
70+
6571
/* section information for modules */
6672
. = ALIGN(4);
6773
__rtmsymtab_start = .;

0 commit comments

Comments
 (0)