public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/ibm/2.32/master] Let ld.so have flags DT_RPATH and DT_RUNPATH
@ 2020-09-15 14:40 Tulio Magno Quites Machado Filho
  0 siblings, 0 replies; only message in thread
From: Tulio Magno Quites Machado Filho @ 2020-09-15 14:40 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=44c7513a5f55101ff96e078eae896b6a289e4047

commit 44c7513a5f55101ff96e078eae896b6a289e4047
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
    
    Remove asserts that prevent ld.so from  having the flags DT_RPATH and
    DT_RUNPATH.

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 4f6a86ef37..3040d9a914 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:[~2020-09-15 14:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-15 14:40 [glibc/ibm/2.32/master] Let ld.so have flags DT_RPATH and DT_RUNPATH Tulio Magno Quites Machado Filho

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).