diff options
Diffstat (limited to 'elf')
-rw-r--r-- | elf/dl-open.c | 2 | ||||
-rw-r--r-- | elf/dl-runtime.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/elf/dl-open.c b/elf/dl-open.c index 5915b7f2a2..529806cc36 100644 --- a/elf/dl-open.c +++ b/elf/dl-open.c @@ -55,7 +55,7 @@ _dl_open (const char *file, int mode) _dl_map_object_deps (new, NULL, 0, 0); /* So far, so good. Now check the versions. */ - (void) _dl_check_map_versions (new, 0); + (void) _dl_check_all_versions (new, 0); /* Relocate the objects loaded. We do this in reverse order so that copy relocs of earlier objects overwrite the data written by later objects. */ diff --git a/elf/dl-runtime.c b/elf/dl-runtime.c index 502c35d5d2..7a44ea4ce3 100644 --- a/elf/dl-runtime.c +++ b/elf/dl-runtime.c @@ -135,7 +135,7 @@ fixup ( #include "dynamic-link.h" /* Perform the specified relocation. */ - if (l->l_info[VERSYMIDX (DT_VERNEEDNUM)]) + if (l->l_info[VERSYMIDX (DT_VERSYM)]) { const ElfW(Half) * version = (const ElfW(Half) *) (l->l_addr + |