From d2225273e83b58c01e3bcf7107f05c6b3d0673ab Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 3 Apr 2002 04:05:59 +0000 Subject: Update. * elf/do-lookup.h (do_lookup): 2 is the first user-defined version number. --- elf/do-lookup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elf/do-lookup.h') diff --git a/elf/do-lookup.h b/elf/do-lookup.h index bbbb4d4d81..bebdb0c09f 100644 --- a/elf/do-lookup.h +++ b/elf/do-lookup.h @@ -136,7 +136,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) -- cgit v1.2.3