about summary refs log tree commit diff
path: root/elf/do-lookup.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-04-03 04:05:59 +0000
committerUlrich Drepper <drepper@redhat.com>2002-04-03 04:05:59 +0000
commitd2225273e83b58c01e3bcf7107f05c6b3d0673ab (patch)
tree83f3cc2b2b81a92ad6d4a9dc23fca6b828767559 /elf/do-lookup.h
parent44c4ccbcca2393bc5081eebea632eeb2b4c61d2e (diff)
downloadglibc-d2225273e83b58c01e3bcf7107f05c6b3d0673ab.tar.gz
glibc-d2225273e83b58c01e3bcf7107f05c6b3d0673ab.tar.xz
glibc-d2225273e83b58c01e3bcf7107f05c6b3d0673ab.zip
Update.
	* elf/do-lookup.h (do_lookup): 2 is the first user-defined version
	number.
Diffstat (limited to 'elf/do-lookup.h')
-rw-r--r--elf/do-lookup.h2
1 files changed, 1 insertions, 1 deletions
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)