>>> On 27.04.16 at 17:48, <kon...@kernel.org> wrote: > +int xsplice_elf_resolve_symbols(struct xsplice_elf *elf) > +{ > + unsigned int i; > + int rc = 0; > + > + ASSERT(elf->sym); > + > + for ( i = 1; i < elf->nsym; i++ ) > + { > + unsigned int idx = elf->sym[i].sym->st_shndx; > + const Elf_Sym *sym = elf->sym[i].sym; > + unsigned long st_value = sym->st_value;
Better to use Elf_Addr here. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel