aboutsummaryrefslogtreecommitdiff
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 798bf06..8206171 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);
}