/* 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;
	rt_module_t module;
	RT_ASSERT(handle != RT_NULL);
	module = (rt_module_t)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;
}