Skip to content

Commit

Permalink
* elf/dl-lookup.c (add_dependency): Always search l_initfini if
Browse files Browse the repository at this point in the history
	the list exists.
  • Loading branch information
Ulrich Drepper committed Mar 19, 2005
1 parent 3d786f1 commit f7e3946
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion elf/dl-lookup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit f7e3946

Please sign in to comment.