From: Ulrich Drepper Date: Sat, 8 Sep 2001 21:31:40 +0000 (+0000) Subject: (elf_machine_rel): Fix thinko in usage of RESOLVE() (r_type, not X-Git-Tag: glibc-2.16-ports-before-merge~1792 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d4ef613a245d48d5a4382b86ae5b3f6e59cffa94;p=thirdparty%2Fglibc.git (elf_machine_rel): Fix thinko in usage of RESOLVE() (r_type, not reloc->r_type). --- diff --git a/sysdeps/arm/dl-machine.h b/sysdeps/arm/dl-machine.h index 6abac52c90c..2d802b7e9b1 100644 --- a/sysdeps/arm/dl-machine.h +++ b/sysdeps/arm/dl-machine.h @@ -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;