fix the end of module symbol bug when using iar compiler

This commit is contained in:
Yohozzy 2017-08-06 01:01:47 +08:00
parent 370be08376
commit 07514c0d0a
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ int rt_system_module_init(void)
_rt_module_symtab_end = (struct rt_module_symtab *)&RTMSymTab$$Limit;
#elif defined (__IAR_SYSTEMS_ICC__)
_rt_module_symtab_begin = __section_begin("RTMSymTab");
_rt_module_symtab_end = __section_begin("RTMSymTab");
_rt_module_symtab_end = __section_end("RTMSymTab");
#endif
#ifdef RT_USING_SLAB