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.16/master, updated. glibc-2.16.0-2-gd846920
- From: rsa at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 6 Jul 2012 18:08:53 -0000
- Subject: GNU C Library master sources branch, ibm/2.16/master, updated. glibc-2.16.0-2-gd846920
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.16/master has been updated
via d846920271a0f4dc54c0dbbd56998228e75e776c (commit)
from 849e3c466055ca4422065d8583abb1f635a30cee (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=d846920271a0f4dc54c0dbbd56998228e75e776c
commit d846920271a0f4dc54c0dbbd56998228e75e776c
Author: Ryan S. Arnold <rsa@linux.vnet.ibm.com>
Date: Fri Jul 6 13:03:09 2012 -0500
Remove assert() if DT_RUNPATH and DT_RPATH flags are found in ld.so.
diff --git a/ChangeLog b/ChangeLog
index 756b406..69a2d7e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-07-06 Ryan S. Arnold <rsa@linux.vnet.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.
+
2012-07-03 Andreas Jaeger <aj@suse.de>
* po/bg.po: Update from translation team.
diff --git a/elf/dynamic-link.h b/elf/dynamic-link.h
index 44f53b3..0c68fd4 100644
--- a/elf/dynamic-link.h
+++ b/elf/dynamic-link.h
@@ -206,8 +206,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) == 0);
/* 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