Changeset 3fafe5e0 in mainline for uspace/lib/c/arch/ia32/src/rtld/reloc.c
- Timestamp:
- 2018-04-27T14:15:03Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7148abf
- Parents:
- a2eb85d
- git-author:
- Jiri Svoboda <jiri@…> (2018-04-26 17:14:26)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-04-27 14:15:03)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/ia32/src/rtld/reloc.c
ra2eb85d r3fafe5e0 84 84 85 85 for (i = 0; i < rt_entries; ++i) { 86 // DPRINTF("symbol %d: ", i); 86 #if 0 87 DPRINTF("symbol %d: ", i); 88 #endif 87 89 r_offset = rt[i].r_offset; 88 90 r_info = rt[i].r_info; … … 100 102 101 103 if (sym->st_name != 0) { 102 // DPRINTF("rel_type: %x, rel_offset: 0x%x\n", rel_type, r_offset); 104 #if 0 105 DPRINTF("rel_type: %x, rel_offset: 0x%x\n", rel_type, r_offset); 106 #endif 103 107 sym_def = symbol_def_find(str_tab + sym->st_name, 104 108 m, ssf_none, &dest); 105 109 DPRINTF("dest name: '%s'\n", dest->dyn.soname); 106 //DPRINTF("dest bias: 0x%x\n", dest->bias);110 DPRINTF("dest bias: 0x%x\n", dest->bias); 107 111 if (sym_def) { 108 112 sym_addr = (uint32_t) 109 113 symbol_get_addr(sym_def, dest, NULL); 110 // DPRINTF("symbol definition found, addr=0x%x\n", sym_addr); 114 #if 0 115 DPRINTF("symbol definition found, addr=0x%x\n", sym_addr); 116 #endif 111 117 } else { 112 118 printf("Definition of '%s' not found.\n",
Note:
See TracChangeset
for help on using the changeset viewer.