about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-11-14 14:55:49 +0000
committerAndreas Jaeger <aj@suse.de>2000-11-14 14:55:49 +0000
commitcf4dea799b4d7ebdcc8ab5192e2b3a8638053a6c (patch)
tree45d8291a8c5b114ae46cc9be4f4eea66e8ff0165
parentca7ed9daa9cff55e6867ee0ea045eb774979e297 (diff)
downloadglibc-cf4dea799b4d7ebdcc8ab5192e2b3a8638053a6c.tar.gz
glibc-cf4dea799b4d7ebdcc8ab5192e2b3a8638053a6c.tar.xz
glibc-cf4dea799b4d7ebdcc8ab5192e2b3a8638053a6c.zip
(HWCAP_CHECK): Fix access to _dl_hwcap.
-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 798bf06e54..8206171f94 100644
--- a/sysdeps/generic/dl-cache.c
+++ b/sysdeps/generic/dl-cache.c
@@ -220,7 +220,7 @@ _dl_load_cache_lookup (const char *name)
       hwcap = &_dl_hwcap;
 
 #define HWCAP_CHECK							     \
-      if (hwcap && (cache_new->libs[middle].hwcap & *hwcap) > _dl_hwcap)     \
+      if (hwcap && (cache_new->libs[middle].hwcap & *hwcap) > *hwcap)        \
 	continue
       SEARCH_CACHE (cache_new);
     }