public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Gabriel F.T.Gomes <gftg@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc/ibm/2.30/master] Let ld.so have flags DT_RPATH and DT_RUNPATH
Date: Mon, 05 Aug 2019 15:13:00 -0000	[thread overview]
Message-ID: <20190805151347.44399.qmail@sourceware.org> (raw)

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.


                 reply	other threads:[~2019-08-05 15:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190805151347.44399.qmail@sourceware.org \
    --to=gftg@sourceware.org \
    --cc=glibc-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).