From: Ulrich Drepper Date: Wed, 3 Apr 2002 04:03:39 +0000 (+0000) Subject: (do_lookup): 2 is the first user-defined version number. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2a389b5c3fe16eb5ed85ae2d8321954e3dfc59b;p=thirdparty%2Fglibc.git (do_lookup): 2 is the first user-defined version number. --- 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)