Changes in uspace/lib/c/generic/dlfcn.c [17341d4:c6f1eb05] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/dlfcn.c
r17341d4 rc6f1eb05 42 42 43 43 #include <rtld/module.h> 44 #include <rtld/rtld.h>45 44 #include <rtld/symbol.h> 46 45 … … 57 56 58 57 printf("module_find('%s')\n", path); 59 m = module_find( runtime_env,path);58 m = module_find(path); 60 59 if (m == NULL) { 61 60 printf("NULL. module_load('%s')\n", path); 62 m = module_load( runtime_env,path);61 m = module_load(path); 63 62 printf("module_load_deps(m)\n"); 64 63 module_load_deps(m); … … 82 81 83 82 printf("dlsym(0x%lx, \"%s\")\n", (long)mod, sym_name); 84 sd = symbol_bfs_find(sym_name, (module_t *) mod, ssf_none,&sm);83 sd = symbol_bfs_find(sym_name, (module_t *) mod, &sm); 85 84 if (sd != NULL) { 86 85 return symbol_get_addr(sd, sm);
Note:
See TracChangeset
for help on using the changeset viewer.