(HWCAP_CHECK): Fix access to _dl_hwcap.
This commit is contained in:
parent
ca7ed9daa9
commit
cf4dea799b
|
@ -220,7 +220,7 @@ _dl_load_cache_lookup (const char *name)
|
||||||
hwcap = &_dl_hwcap;
|
hwcap = &_dl_hwcap;
|
||||||
|
|
||||||
#define HWCAP_CHECK \
|
#define HWCAP_CHECK \
|
||||||
if (hwcap && (cache_new->libs[middle].hwcap & *hwcap) > _dl_hwcap) \
|
if (hwcap && (cache_new->libs[middle].hwcap & *hwcap) > *hwcap) \
|
||||||
continue
|
continue
|
||||||
SEARCH_CACHE (cache_new);
|
SEARCH_CACHE (cache_new);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue