aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-09-08 21:31:40 +0000
committerUlrich Drepper <drepper@redhat.com>2001-09-08 21:31:40 +0000
commitd4ef613a245d48d5a4382b86ae5b3f6e59cffa94 (patch)
tree7d66d622b659dcfd97bd996fcc53d68470c9afe6 /sysdeps
parent7a250cfd1e85bf6f6d622aa82e950bd8a32c6526 (diff)
downloadglibc-d4ef613a245d48d5a4382b86ae5b3f6e59cffa94.tar
glibc-d4ef613a245d48d5a4382b86ae5b3f6e59cffa94.tar.gz
glibc-d4ef613a245d48d5a4382b86ae5b3f6e59cffa94.tar.bz2
glibc-d4ef613a245d48d5a4382b86ae5b3f6e59cffa94.zip
(elf_machine_rel): Fix thinko in usage of RESOLVE() (r_type, not
reloc->r_type).
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/arm/dl-machine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/arm/dl-machine.h b/sysdeps/arm/dl-machine.h
index 6abac52c90..2d802b7e9b 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;