diff options
| author | Yohozzy <[email protected]> | 2017-08-06 01:01:47 +0800 |
|---|---|---|
| committer | Yohozzy <[email protected]> | 2017-08-06 01:01:47 +0800 |
| commit | 07514c0d0a7a15ab7d195ed46e1bbe099e394640 (patch) | |
| tree | fe1079e48294fc206ec10ffd71444a8fcd0e5248 /src | |
| parent | 370be08376cb406dd635c1490be965bdb4b6113f (diff) | |
fix the end of module symbol bug when using iar compiler
Diffstat (limited to 'src')
| -rw-r--r-- | src/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module.c b/src/module.c index 79ac0c8688..c1a3475655 100644 --- a/src/module.c +++ b/src/module.c @@ -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 |
