diff options
author | Thorsten Glaser <tg@mirbsd.org> | 2015-01-01 19:09:51 +0000 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-01-01 13:34:49 -0600 |
commit | 2e2954c602c7ca97c73131b918c1383fc4923413 (patch) | |
tree | 9e4dfe7e1a18a236617674ee2a8caa93dab1a18c /ldso | |
parent | d5eaaa724eabb4af4563cb9d77da711626d438ad (diff) |
explicitly cast (even though this casting is not very nice)
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/arm/elfinterp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/ldso/arm/elfinterp.c b/ldso/ldso/arm/elfinterp.c index c2f52b822..2043263ec 100644 --- a/ldso/ldso/arm/elfinterp.c +++ b/ldso/ldso/arm/elfinterp.c @@ -69,7 +69,7 @@ unsigned long _dl_linux_resolver(struct elf_resolve *tpnt, int reloc_entry) got_addr = (char **) instr_addr; /* Get the address of the GOT entry */ - new_addr = _dl_find_hash(symname, &_dl_loaded_modules->symbol_scope, + new_addr = (unsigned long)_dl_find_hash(symname, &_dl_loaded_modules->symbol_scope, tpnt, ELF_RTYPE_CLASS_PLT, NULL); if (unlikely(!new_addr)) { _dl_dprintf(2, "%s: can't resolve symbol '%s'\n", @@ -203,7 +203,7 @@ _dl_do_reloc (struct elf_resolve *tpnt,struct r_scope_elem *scope, symname = strtab + symtab[symtab_index].st_name; if (symtab_index) { - symbol_addr = _dl_find_hash(symname, scope, tpnt, + symbol_addr = (unsigned long)_dl_find_hash(symname, scope, tpnt, elf_machine_type_class(reloc_type), &sym_ref); /* |