diff options
| author | Bernard Xiong <[email protected]> | 2015-09-24 20:59:00 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2015-09-24 20:59:00 +0800 |
| commit | d0dcdd11fe6ed42b853fb7b4ef0e91163c5f50ee (patch) | |
| tree | bc1123bdfbcd29f1e55895b5778ed752dd4c8a26 | |
| parent | 3dc91bf8abd9d17812c31378444de047b08233f7 (diff) | |
[Kernel] Export more symbols for module.
| -rw-r--r-- | src/module.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/module.c b/src/module.c index 0de93867c6..b03611a4f4 100644 --- a/src/module.c +++ b/src/module.c @@ -178,6 +178,7 @@ rt_module_t rt_module_self(void) /* return current module */ return (rt_module_t)tid->module_id; } +RTM_EXPORT(rt_module_self); static int rt_module_arm_relocate(struct rt_module *module, Elf32_Rel *rel, @@ -1563,6 +1564,7 @@ rt_module_t rt_module_find(const char *name) /* not found */ return RT_NULL; } +RTM_EXPORT(rt_module_find); #ifdef RT_USING_SLAB /* |
