Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 3 Apr 2002 04:05:59 +0000 (04:05 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 3 Apr 2002 04:05:59 +0000 (04:05 +0000)
* elf/do-lookup.h (do_lookup): 2 is the first user-defined version
number.

ChangeLog
elf/do-lookup.h

index 910b561..393ece3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2002-04-02  Ulrich Drepper  <drepper@redhat.com>
 
+       * elf/do-lookup.h (do_lookup): 2 is the first user-defined version
+       number.
+
        * libio/iofclose.c (_IO_new_fclose): Move freeing of backup buffer
        to ...
        * libio/fileops.c (_IO_new_file_close_it): ...here [PR libc/3190].
index bbbb4d4..bebdb0c 100644 (file)
@@ -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)