summaryrefslogtreecommitdiff
path: root/elf/rtld.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/rtld.c')
-rw-r--r--elf/rtld.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index 1fae3488d9..b3018fb87f 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -285,9 +285,7 @@ of this helper program; chances are you did not intend to run this program.\n",
if (mode == verify)
/* We were called just to verify that this is a dynamic executable
using us as the program interpreter. */
- _exit ((strcmp (_dl_rtld_map.l_libname, _dl_rtld_map.l_name) ||
- l->l_ld == NULL)
- ? EXIT_FAILURE : EXIT_SUCCESS);
+ _exit (l->l_ld == NULL ? EXIT_FAILURE : EXIT_SUCCESS);
/* Extract the contents of the dynamic section for easy access. */
elf_get_dynamic_info (l->l_ld, l->l_info);