about summary refs log tree commit diff
diff options
context:
space:
mode:
-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);
     }