Changeset a6dffb8 in mainline for uspace/lib/c/rtld/module.c
- Timestamp:
- 2011-04-28T18:56:01Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b40a3b6
- Parents:
- b678410
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/rtld/module.c
rb678410 ra6dffb8 43 43 44 44 #include <rtld.h> 45 #include <rtld_debug.h> 45 46 #include <dynamic.h> 46 47 #include <elf_load.h> … … 97 98 module_t *m; 98 99 const char *p, *soname; 100 101 DPRINTF("module_find('%s')\n", name); 99 102 100 103 /* … … 107 110 108 111 /* Traverse list of all modules. Not extremely fast, but simple */ 112 DPRINTF("head = %p\n", head); 109 113 for (cur = head->next; cur != head; cur = cur->next) { 114 DPRINTF("cur = %p\n", cur); 110 115 m = list_get_instance(cur, module_t, modules_link); 111 116 if (str_cmp(m->dyn.soname, soname) == 0) { … … 185 190 module_t *dm; 186 191 size_t n, i; 192 193 DPRINTF("module_load_deps('%s')\n", m->dyn.soname); 187 194 188 195 /* Count direct dependencies */
Note:
See TracChangeset
for help on using the changeset viewer.