Skip to content

Commit

Permalink
Revert "Don't crash when dependencies are missing"
Browse files Browse the repository at this point in the history
This reverts commit f2092fa.
(cherry picked from commit f55ffe5)
  • Loading branch information
Andreas Schwab committed Sep 7, 2011
1 parent 435e230 commit e9f35ea
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2011-08-22 Andreas Schwab <schwab@redhat.com>

* elf/dl-deps.c (_dl_map_object_deps): Move check for missing
dependencies back to end of function.

2011-08-16 Andreas Schwab <schwab@redhat.com>

[BZ #11724]
Expand Down
8 changes: 4 additions & 4 deletions elf/dl-deps.c
Original file line number Diff line number Diff line change
Expand Up @@ -491,10 +491,6 @@ _dl_map_object_deps (struct link_map *map,
if (errno == 0 && errno_saved != 0)
__set_errno (errno_saved);

if (errno_reason)
_dl_signal_error (errno_reason == -1 ? 0 : errno_reason, objname,
NULL, errstring);

struct link_map **old_l_initfini = NULL;
if (map->l_initfini != NULL && map->l_type == lt_loaded)
{
Expand Down Expand Up @@ -691,4 +687,8 @@ Filters not supported with LD_TRACE_PRELINKING"));
}
if (old_l_initfini != NULL)
map->l_orig_initfini = old_l_initfini;

if (errno_reason)
_dl_signal_error (errno_reason == -1 ? 0 : errno_reason, objname,
NULL, errstring);
}

0 comments on commit e9f35ea

Please sign in to comment.