GNU C Library master sources branch, master, updated. glibc-2.13-8-g8517b15

drepper@sourceware.org drepper@sourceware.org
Wed Feb 2 16:51:00 GMT 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  8517b15ee8e39fed11afb784fd0e249d977849f4 (commit)
      from  10a656fe33d8257531ff3e9a882d3fd7db6ce5b3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=8517b15ee8e39fed11afb784fd0e249d977849f4

commit 8517b15ee8e39fed11afb784fd0e249d977849f4
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Wed Feb 2 11:50:49 2011 -0500

    Fix passing symbol value to pltexit callbacks when ld.so auditing.

diff --git a/ChangeLog b/ChangeLog
index 24506f0..6a57302 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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
diff --git a/elf/dl-runtime.c b/elf/dl-runtime.c
index 6847eda..ae2d05c 100644
--- a/elf/dl-runtime.c
+++ b/elf/dl-runtime.c
@@ -1,5 +1,5 @@
 /* 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
@@ -446,6 +446,7 @@ _dl_call_pltexit (struct link_map *l, ElfW(Word) reloc_arg,
 
   /* 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,

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog        |    6 ++++++
 elf/dl-runtime.c |    3 ++-
 2 files changed, 8 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources



More information about the Glibc-cvs mailing list