]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(do_lookup): 2 is the first user-defined version number.
authorUlrich Drepper <drepper@redhat.com>
Wed, 3 Apr 2002 04:03:39 +0000 (04:03 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 3 Apr 2002 04:03:39 +0000 (04:03 +0000)
elf/do-lookup.h

index b9364b95d1ff945cd60cad22beb2e7e26b58bb6c..58dd5f4532af794977ec2aca382ba4ed236a9861 100644 (file)
@@ -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)