about summary refs log tree commit diff
path: root/elf/do-rel.h
diff options
context:
space:
mode:
Diffstat (limited to 'elf/do-rel.h')
-rw-r--r--elf/do-rel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/do-rel.h b/elf/do-rel.h
index 66f135916c..766e62c219 100644
--- a/elf/do-rel.h
+++ b/elf/do-rel.h
@@ -53,7 +53,7 @@ elf_dynamic_do_rel (struct link_map *map,
       const ElfW(Sym) *const symtab =
 	(const ElfW(Sym) *) (map->l_addr + map->l_info[DT_SYMTAB]->d_un.d_ptr);
 
-      if (map->l_info[VERSYMIDX (DT_VERNEEDNUM)])
+      if (map->l_info[VERSYMIDX (DT_VERSYM)])
 	{
 	  const ElfW(Half) *const version =
 	    (const ElfW(Half) *) (map->l_addr