blob: a963a5f8831e3e07a14368d46db1ab1577857200 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- libc/elf/do-lookup.h 2001/08/26 22:24:08 1.16
+++ libc/elf/do-lookup.h 2002/04/03 04:03:39 1.16.2.1
@@ -128,7 +128,7 @@
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)
|