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