Ignore:
Timestamp:
2011-03-21T22:00:17Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
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.
Message:

Merge mainline changes (needs fixes).

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/rtld/arch/ia32/src/reloc.c

    rb50b5af2 r04803bf  
    5555void rel_table_process(module_t *m, elf_rel_t *rt, size_t rt_size)
    5656{
    57         int i;
     57        unsigned i;
    5858
    5959        size_t rt_entries;
     
    6262        unsigned rel_type;
    6363        elf_word sym_idx;
    64         uintptr_t sym_addr;
     64        uint32_t sym_addr;
    6565       
    6666        elf_symbol_t *sym_table;
     
    104104//                      DPRINTF("dest bias: 0x%x\n", dest->bias);
    105105                        if (sym_def) {
    106                                 sym_addr = symbol_get_addr(sym_def, dest);
     106                                sym_addr = (uint32_t)
     107                                    symbol_get_addr(sym_def, dest);
    107108//                              DPRINTF("symbol definition found, addr=0x%x\n", sym_addr);
    108109                        } else {
     
    111112                                continue;
    112113                        }
     114                } else {
     115                        sym_addr = 0;
     116                        sym_def = NULL;
    113117                }
    114118
Note: See TracChangeset for help on using the changeset viewer.