(elf_machine_rel): Fix thinko in usage of RESOLVE() (r_type, not

reloc->r_type).
This commit is contained in:
Ulrich Drepper 2001-09-08 21:31:40 +00:00
parent 7a250cfd1e
commit d4ef613a24
1 changed files with 1 additions and 1 deletions

View File

@ -428,7 +428,7 @@ elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc,
else
{
const Elf32_Sym *const refsym = sym;
Elf32_Addr value = RESOLVE (&sym, version, reloc->r_type);
Elf32_Addr value = RESOLVE (&sym, version, r_type);
if (sym)
value += sym->st_value;