Changeset 17341d4 in mainline for uspace/lib/c/generic/rtld/symbol.c
- Timestamp:
- 2016-04-20T17:25:48Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dc0d8b52
- Parents:
- 13dfa3f9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/rtld/symbol.c
r13dfa3f9 r17341d4 39 39 40 40 #include <elf/elf.h> 41 #include <rtld/module.h> 41 42 #include <rtld/rtld.h> 42 43 #include <rtld/rtld_debug.h> … … 132 133 133 134 /* Mark all vertices (modules) as unvisited */ 134 modules_untag( );135 modules_untag(start->rtld); 135 136 136 137 /* Insert root (the program) into the queue and tag it */ … … 219 220 /* Not DT_SYMBOLIC or no match. Now try other locations. */ 220 221 221 if ( runtime_env->program) {222 if (origin->rtld->program) { 222 223 /* Program is dynamic -- start with program as root. */ 223 return symbol_bfs_find(name, runtime_env->program, flags, mod);224 return symbol_bfs_find(name, origin->rtld->program, flags, mod); 224 225 } else { 225 226 /* Program is static -- start with @a origin as root. */
Note:
See TracChangeset
for help on using the changeset viewer.