diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-09-20 07:43:16 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-09-20 07:43:16 +0000 |
commit | efec50797a13f527967ec8e0113fd9405ec7e7bc (patch) | |
tree | 3ae11273787feef364349f30865b06aba89664b6 /elf/rtld.c | |
parent | 2edb61e3f955bfcc9dd3cb6b3b1acfe4806234a6 (diff) | |
download | glibc-efec50797a13f527967ec8e0113fd9405ec7e7bc.tar.gz glibc-efec50797a13f527967ec8e0113fd9405ec7e7bc.tar.xz glibc-efec50797a13f527967ec8e0113fd9405ec7e7bc.zip |
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.c | 5 |
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) |