Merge pull request #791 from Yohozzy/master

fix the end of module symbol bug when using iar compiler
This commit is contained in:
Bernard Xiong 2017-08-06 12:03:03 +08:00 committed by GitHub
commit 6a08e154ee
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