diff options
| author | MurphyZhao <[email protected]> | 2018-12-05 14:53:13 +0800 |
|---|---|---|
| committer | MurphyZhao <[email protected]> | 2018-12-05 14:53:37 +0800 |
| commit | 1ecf6cbc7c7dfd32bb77d551ccd391be6705900a (patch) | |
| tree | b24181f742b7a9f7cbb1c9ad4635700fd42c7754 /components/utilities/utest/utest.c | |
| parent | 85d275b399b052e529134d2ca632b0a5602c30f3 (diff) | |
【更新】utest gcc 链接符
Signed-off-by: MurphyZhao <[email protected]>
Diffstat (limited to 'components/utilities/utest/utest.c')
| -rw-r--r-- | components/utilities/utest/utest.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/utilities/utest/utest.c b/components/utilities/utest/utest.c index f8881de2d0..4226738ce7 100644 --- a/components/utilities/utest/utest.c +++ b/components/utilities/utest/utest.c @@ -51,10 +51,10 @@ int utest_init(void) tc_table = (utest_tc_export_t)__section_begin("UtestTcTab"); tc_num = (utest_tc_export_t)__section_end("UtestTcTab") - tc_table; #elif defined (__GNUC__) /* for GCC Compiler */ - extern const int __rtatcmdtab_start; - extern const int __rtatcmdtab_end; - tc_table = (utest_tc_export_t)&__rtatcmdtab_start; - tc_num = (utest_tc_export_t) &__rtatcmdtab_end - tc_table; + extern const int __rt_utest_tc_tab_start; + extern const int __rt_utest_tc_tab_end; + tc_table = (utest_tc_export_t)&__rt_utest_tc_tab_start; + tc_num = (utest_tc_export_t) &__rt_utest_tc_tab_end - tc_table; #endif /* defined(__CC_ARM) */ LOG_D("[ ] total utest testcase num: (%d)", tc_num); |
