aboutsummaryrefslogtreecommitdiff
path: root/elf/rtld.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/rtld.c')
-rw-r--r--elf/rtld.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index 93c45311d4..2daf05a6d6 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -1039,9 +1039,8 @@ of this helper program; chances are you did not intend to run this program.\n\
{
/* Extract the contents of the dynamic section for easy access. */
elf_get_dynamic_info (GL(dl_loaded), NULL);
- if (GL(dl_loaded)->l_info[DT_HASH])
- /* Set up our cache of pointers into the hash table. */
- _dl_setup_hash (GL(dl_loaded));
+ /* Set up our cache of pointers into the hash table. */
+ _dl_setup_hash (GL(dl_loaded));
}
if (__builtin_expect (mode, normal) == verify)