modlib: Don't truncate 64-bit values
This commit is contained in:
parent
f8077022bd
commit
bd7829a44d
@ -418,7 +418,7 @@ int modlib_symvalue(FAR struct module_s *modp,
|
||||
loadinfo->iobuffer, sym->st_value, symbol->sym_value,
|
||||
sym->st_value + symbol->sym_value);
|
||||
|
||||
sym->st_value += (Elf_Word)((uintptr_t)symbol->sym_value);
|
||||
sym->st_value += ((uintptr_t)symbol->sym_value);
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user