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