+2011-02-02 Ulrich Drepper <drepper@gmail.com>
+
+ * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
+ function to the callback.
+ Patch partly by Jiri Olsa <jolsa@redhat.com>.
+
2011-02-02 Andreas Schwab <schwab@redhat.com>
* shadow/sgetspent.c: Check return value of __sgetspent_r instead
/* On-demand PLT fixup for shared objects.
- Copyright (C) 1995-2009, 2010 Free Software Foundation, Inc.
+ Copyright (C) 1995-2009, 2010, 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
/* Set up the sym parameter. */
ElfW(Sym) sym = *defsym;
+ sym.st_value = DL_FIXUP_VALUE_ADDR (reloc_result->addr);
/* Get the symbol name. */
const char *strtab = (const void *) D_PTR (reloc_result->bound,