From d2a389b5c3fe16eb5ed85ae2d8321954e3dfc59b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 3 Apr 2002 04:03:39 +0000 Subject: [PATCH] (do_lookup): 2 is the first user-defined version number. --- elf/do-lookup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elf/do-lookup.h b/elf/do-lookup.h index b9364b95d1f..58dd5f4532a 100644 --- a/elf/do-lookup.h +++ b/elf/do-lookup.h @@ -128,7 +128,7 @@ FCT (const char *undef_name, unsigned long int hash, const ElfW(Sym) *ref, if (verstab != NULL) { ElfW(Half) ndx = verstab[symidx] & 0x7fff; - if (ndx > 2) /* map->l_versions[ndx].hash != 0) */ + if (ndx >= 2) /* map->l_versions[ndx].hash != 0) */ { /* Don't accept hidden symbols. */ if ((verstab[symidx] & 0x8000) == 0 && num_versions++ == 0) -- 2.47.2