]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Remove assert if DT_RUNPATH and DT_RPATH flags are found in ld.so
authorTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Thu, 6 Aug 2015 19:13:56 +0000 (16:13 -0300)
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Wed, 10 Aug 2016 21:39:21 +0000 (18:39 -0300)
ChangeLog
elf/get-dynamic-info.h

index 84ae7a7af8d9535c0fb63d8dec7926f0bd367f35..d2f71250985b4d722ff8a68ccd8194bffd1631a1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-08-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
+
+       * elf/get-dynamic-info.h (elf_get_dynamic_info): Remove assert
+       if DT_RUNPATH and DT_RPATH flags are found in ld.so.
+
 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
 
        * po/de.po: Update from Translation Project.
index 4cf18a46ccbc0ffe533247fbccffbf9282640465..06519b9bc542b014b77426d177ba3fa6bfb6cf41 100644 (file)
@@ -138,9 +138,6 @@ elf_get_dynamic_info (struct link_map *l, ElfW(Dyn) *temp)
          || (info[VERSYMIDX (DT_FLAGS_1)]->d_un.d_val & ~DF_1_NOW) == 0);
   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);
 #else
   if (info[DT_FLAGS] != NULL)
     {