summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/elfdeps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/elfdeps.c b/tools/elfdeps.c
index b4451093a..7482a5e76 100644
--- a/tools/elfdeps.c
+++ b/tools/elfdeps.c
@@ -49,6 +49,7 @@ static void processVerDef(Elf_Scn *scn, GElf_Shdr *shdr, elfInfo *ei)
if (def == NULL)
break;
auxoffset = offset + def->vd_aux;
+ offset += def->vd_next;
for (int j = def->vd_cnt; --j >= 0; ) {
GElf_Verdaux aux_mem, * aux;