summaryrefslogtreecommitdiff
path: root/elf/rtld.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-09-20 07:43:16 +0000
committerUlrich Drepper <drepper@redhat.com>2004-09-20 07:43:16 +0000
commitefec50797a13f527967ec8e0113fd9405ec7e7bc (patch)
tree3ae11273787feef364349f30865b06aba89664b6 /elf/rtld.c
parent2edb61e3f955bfcc9dd3cb6b3b1acfe4806234a6 (diff)
Update.
2004-09-20 Ulrich Drepper <drepper@redhat.com> * elf/dl-load.c (_dl_map_object_from_fd): Add some error checking. Reorder code slightly. * elf/rtld.c (dl_main): No need to check whether l_info[DT_HASH] is non-null, _dl_setup_hash will do that.
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)