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.28/master created. glibc-2.28-1-g32e03a5
- From: tuliom at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 3 Aug 2018 13:23:41 -0000
- Subject: GNU C Library master sources branch ibm/2.28/master created. glibc-2.28-1-g32e03a5
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.28/master has been created
at 32e03a5b64bd9e3b304786809897d6094ed1073e (commit)
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=32e03a5b64bd9e3b304786809897d6094ed1073e
commit 32e03a5b64bd9e3b304786809897d6094ed1073e
Author: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Date: Thu Aug 2 13:57:26 2018 -0300
Let ld.so have flags DT_RPATH and DT_RUNPATH
2018-08-02 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
* elf/get-dynamic-info.h: Remove asserts that prevent ld.so from
having the flags DT_RPATH and DT_RUNPATH.
Signed-off-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
diff --git a/elf/get-dynamic-info.h b/elf/get-dynamic-info.h
index 4b1ea7c..9d0a1a5 100644
--- a/elf/get-dynamic-info.h
+++ b/elf/get-dynamic-info.h
@@ -142,10 +142,7 @@ 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);
#endif
-#if defined RTLD_BOOTSTRAP || defined STATIC_PIE_BOOTSTRAP
- assert (info[DT_RUNPATH] == NULL);
- assert (info[DT_RPATH] == NULL);
-#else
+#if ! defined RTLD_BOOTSTRAP && ! defined STATIC_PIE_BOOTSTRAP
if (info[DT_FLAGS] != NULL)
{
/* Flags are used. Translate to the old form where available.
-----------------------------------------------------------------------
hooks/post-receive
--
GNU C Library master sources