aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-runtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-runtime.c')
-rw-r--r--elf/dl-runtime.c2
1 files changed, 1 insertions, 1 deletions
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 +