[modify][components][utilities]Modify the gcc section definition of a Var Export component

This commit is contained in:
WillianChan 2021-07-27 19:38:28 +08:00 committed by WillianChan
parent 9f543f7065
commit 5a020de4e8
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ typedef struct ve_iterator ve_iterator_t;
const char _vexp_##identi##_module[] RT_SECTION(".rodata.vexp") = #module; \ const char _vexp_##identi##_module[] RT_SECTION(".rodata.vexp") = #module; \
const char _vexp_##identi##_identi[] RT_SECTION(".rodata.vexp") = #identi; \ const char _vexp_##identi##_identi[] RT_SECTION(".rodata.vexp") = #identi; \
RT_USED const struct ve_exporter _vexp_##module##identi \ RT_USED const struct ve_exporter _vexp_##module##identi \
RT_SECTION("VarExpTab") = \ RT_SECTION(#module".VarExpTab."#identi) = \ \
{ \ { \
_vexp_##identi##_module, \ _vexp_##identi##_module, \
_vexp_##identi##_identi, \ _vexp_##identi##_identi, \