]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* elf/dl-lookup.c (add_dependency): Always search l_initfini if
authorUlrich Drepper <drepper@redhat.com>
Sat, 19 Mar 2005 09:10:45 +0000 (09:10 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 19 Mar 2005 09:10:45 +0000 (09:10 +0000)
the list exists.

ChangeLog
elf/dl-lookup.c

index 2b32a8e40c66cf4b9c671e31cb6ea753e0f38735..a20c174ad255efdf1899ddb192159f9127c787ea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-03-19  Ulrich Drepper  <drepper@redhat.com>
 
+       * elf/dl-lookup.c (add_dependency): Always search l_initfini if
+       the list exists.
+
        * elf/Makefile: Add rules to build and run order2.
        * elf/order2.c: New file.
        * elf/order2mod1.c: New file.
index b3695aeb99496e8f54713d2c63c3193d141263cc..130453ca24f82a3b30ce9f16bbcbd93a9cc34a9c 100644 (file)
@@ -108,7 +108,7 @@ add_dependency (struct link_map *undef_map, struct link_map *map)
 
   /* Determine whether UNDEF_MAP already has a reference to MAP.  First
      look in the normal dependencies.  */
-  if (undef_map->l_searchlist.r_list != NULL)
+  if (undef_map->l_initfini != NULL)
     {
       list = undef_map->l_initfini;