Changeset e28175d in mainline for uspace/lib/c/generic/dlfcn.c
- Timestamp:
- 2020-03-15T10:44:02Z (6 years ago)
- Parents:
- b401b33 (diff), 44dde42 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - git-author:
- heiducteam <tristanided@…> (2020-03-15 10:44:02)
- git-committer:
- GitHub <noreply@…> (2020-03-15 10:44:02)
- File:
-
- 1 edited
-
uspace/lib/c/generic/dlfcn.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/dlfcn.c
rb401b33 re28175d 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.
