/* Change Logs: Date Author Notes  yi.qiu first version  */
void* dlsym(void *handle, const char *symbol)
/* Change Logs: Date Author Notes  yi.qiu first version  */
void* dlsym(void *handle, const char *symbol)
{
    int i;
    struct rt_dlmodule *module;
    RT_ASSERT(handle != RT_NULL);
    module = (struct rt_dlmodule *)handle;
    for(i=0; i<module->nsym; i++)
    {
        if (rt_strcmp(module->symtab[i].name, symbol) == 0)
            return (void*)module->symtab[i].addr;
    }
    return RT_NULL;
}