Changes in uspace/lib/c/generic/dlfcn.c [a949f4a:8aea932] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/dlfcn.c
ra949f4a r8aea932 45 45 #include <rtld/module.h> 46 46 #include <rtld/rtld.h> 47 #include <rtld/rtld_arch.h>48 47 #include <rtld/symbol.h> 49 48 … … 80 79 sd = symbol_bfs_find(sym_name, (module_t *) mod, &sm); 81 80 if (sd != NULL) { 82 if (elf_st_type(sd->st_info) == STT_FUNC) 83 return func_get_addr(sd, sm); 84 else 85 return symbol_get_addr(sd, sm, __tcb_get()); 81 return symbol_get_addr(sd, sm, __tcb_get()); 86 82 } 87 83
Note:
See TracChangeset
for help on using the changeset viewer.