public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/ibm/2.30/master] Let ld.so have flags DT_RPATH and DT_RUNPATH
@ 2019-08-05 15:13 Gabriel F.T.Gomes
  0 siblings, 0 replies; only message in thread
From: Gabriel F.T.Gomes @ 2019-08-05 15:13 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9ca2648e2aa7094e022d5150281b2575f866259f

commit 9ca2648e2aa7094e022d5150281b2575f866259f
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:
---
 elf/get-dynamic-info.h | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/elf/get-dynamic-info.h b/elf/get-dynamic-info.h
index 75fbb88..7ea645d 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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-05 15:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-05 15:13 [glibc/ibm/2.30/master] Let ld.so have flags DT_RPATH and DT_RUNPATH Gabriel F.T.Gomes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).