]> 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>
Fri, 7 Aug 2015 13:53:05 +0000 (10:53 -0300)
ChangeLog
elf/get-dynamic-info.h

index 82331d586068b392c3fc0aabef4a05dc68ad9e46..63557b2a430635810ccf3526feb14d7c29408d92 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.
+
 2015-08-05  Zack Weinberg  <zackw@panix.com>
 
        * misc/regexp.h: Update comments.
index dc8359d36ac3d97fbb36821a9f8a2deb7ba541e5..529ed6c17882cff83a10c57b533ed7ce3b4e872e 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)
     {