This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, ibm/2.13/master, updated. glibc-2.13-12-g5b55fd9
- From: rsa at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 3 May 2011 20:34:20 -0000
- Subject: GNU C Library master sources branch, ibm/2.13/master, updated. glibc-2.13-12-g5b55fd9
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, ibm/2.13/master has been updated
via 5b55fd9ae008f734919c43eed12f078121c0e667 (commit)
from 996cf2ef07277805f119c8b47be92334c907ce8f (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=5b55fd9ae008f734919c43eed12f078121c0e667
commit 5b55fd9ae008f734919c43eed12f078121c0e667
Author: Ryan S. Arnold <rsa@us.ibm.com>
Date: Tue May 3 15:31:56 2011 -0500
Remove assert() if DT_RUNPATH and DT_RPATH flags are found in ld.so.
2011-05-03 Ryan S. Arnold <rsa@us.ibm.com>
* elf/dynamic-link.h (elf_get_dynamic_info): Remove assert()
around DT_RUNPATH and DT_RPATH which prevents running a dynamic
linker with an embedded RPATH flag, which is what a compiler
modified to embed a non-default INTERP section would do.
diff --git a/ChangeLog b/ChangeLog
index 31c7554..6f918f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-03 Ryan S. Arnold <rsa@us.ibm.com>
+
+ * elf/dynamic-link.h (elf_get_dynamic_info): Remove assert() around
+ DT_RUNPATH and DT_RPATH which prevents running a dynamic linker with
+ an embedded RPATH flag, which is what a compiler modified to embed a
+ non-default INTERP section would do.
+
2010-09-28 Andreas Schwab <schwab@redhat.com>
Ulrich Drepper <drepper@gmail.com>
diff --git a/elf/dynamic-link.h b/elf/dynamic-link.h
index 6d7e142..ecd4e56 100644
--- a/elf/dynamic-link.h
+++ b/elf/dynamic-link.h
@@ -205,8 +205,8 @@ elf_get_dynamic_info (struct link_map *l, ElfW(Dyn) *temp)
assert (info[DT_FLAGS] == NULL
|| info[DT_FLAGS]->d_un.d_val == DF_BIND_NOW);
/* Flags must not be set for ld.so. */
- assert (info[DT_RUNPATH] == NULL);
- assert (info[DT_RPATH] == NULL);
+ info[DT_RUNPATH] = NULL;
+ info[DT_RPATH] = NULL;
#else
if (info[DT_FLAGS] != NULL)
{
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
elf/dynamic-link.h | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources