Changeset 04803bf in mainline for uspace/lib/c/rtld/arch/ia32/src/reloc.c
- Timestamp:
- 2011-03-21T22:00:17Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 143932e3
- Parents:
- b50b5af2 (diff), 7308e84 (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. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/rtld/arch/ia32/src/reloc.c
rb50b5af2 r04803bf 55 55 void rel_table_process(module_t *m, elf_rel_t *rt, size_t rt_size) 56 56 { 57 inti;57 unsigned i; 58 58 59 59 size_t rt_entries; … … 62 62 unsigned rel_type; 63 63 elf_word sym_idx; 64 uint ptr_t sym_addr;64 uint32_t sym_addr; 65 65 66 66 elf_symbol_t *sym_table; … … 104 104 // DPRINTF("dest bias: 0x%x\n", dest->bias); 105 105 if (sym_def) { 106 sym_addr = symbol_get_addr(sym_def, dest); 106 sym_addr = (uint32_t) 107 symbol_get_addr(sym_def, dest); 107 108 // DPRINTF("symbol definition found, addr=0x%x\n", sym_addr); 108 109 } else { … … 111 112 continue; 112 113 } 114 } else { 115 sym_addr = 0; 116 sym_def = NULL; 113 117 } 114 118
Note:
See TracChangeset
for help on using the changeset viewer.