This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[patch] arm/dl-machine.h, fix thinko
- To: GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- Subject: [patch] arm/dl-machine.h, fix thinko
- From: Ben Collins <bcollins at debian dot org>
- Date: Sat, 8 Sep 2001 17:28:12 -0400
2001-09-08 Ben Collins <bcollins@debian.org>
* sysdeps/arm/dl-machine.h (elf_machine_rel): Fix thinko in
usage of RESOLVE() (r_type, not reloc->r_type).
--
.----------=======-=-======-=========-----------=====------------=-=-----.
/ Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
--- sysdeps/arm/dl-machine.h~ 2001/09/08 17:16:43 1.31
+++ sysdeps/arm/dl-machine.h 2001/09/08 21:26:14
@@ -428,7 +428,7 @@
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;