diff options
Diffstat (limited to 'src/module.c')
| -rw-r--r-- | src/module.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/module.c b/src/module.c index a2958cc66b..0bce29dc59 100644 --- a/src/module.c +++ b/src/module.c @@ -186,6 +186,10 @@ struct rt_module* rt_module_load(void* module_ptr, const rt_uint8_t* name) struct rt_module* module = RT_NULL; rt_uint8_t *ptr, *strtab, *shstrab; +#ifdef RT_MODULE_DEBUG + rt_kprintf("rt_module_load: %s\n", name); +#endif + /* check ELF header */ if (rt_memcmp(elf_module->e_ident, ELFMAG, SELFMAG) != 0 || elf_module->e_ident[EI_CLASS] != ELFCLASS32) |
