summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-03-06 20:36:16 +0000
committerUlrich Drepper <drepper@redhat.com>1997-03-06 20:36:16 +0000
commit760f9f4cd08ef082f766dc4fa510cd48e0f885a3 (patch)
tree99f795ffa764350c83dd8ab47aa3acb8da316d3e
parent3a1db3bf886cc18a08dc0fb2a0f51702c19c0627 (diff)
(_dl_load_cache_lookup): Recognize cache type 1 or 3.
-rw-r--r--sysdeps/generic/dl-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-cache.c b/sysdeps/generic/dl-cache.c
index c21c46fc9d..b3c46ff6b2 100644
--- a/sysdeps/generic/dl-cache.c
+++ b/sysdeps/generic/dl-cache.c
@@ -77,7 +77,7 @@ _dl_load_cache_lookup (const char *name)
}
for (i = 0; i < cache->nlibs; ++i)
- if ((cache->libs[i].flags == 1 &&
+ if ((cache->libs[i].flags == 1 ||
cache->libs[i].flags == 3) && /* ELF library entry. */
/* Make sure string table indices are not bogus before using them. */
cache->libs[i].key < cachesize - sizeof *cache &&