]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(elf_machine_rel): Fix thinko in usage of RESOLVE() (r_type, not
authorUlrich Drepper <drepper@redhat.com>
Sat, 8 Sep 2001 21:31:40 +0000 (21:31 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 8 Sep 2001 21:31:40 +0000 (21:31 +0000)
reloc->r_type).

sysdeps/arm/dl-machine.h

index 6abac52c90cb0e39957902435417961caabcd867..2d802b7e9b13b3fed74be0cba001773ce17d4c3c 100644 (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;