elf: Process glibc-hwcaps subdirectories in ldconfig
authorFlorian Weimer <fweimer@redhat.com>
Fri, 4 Dec 2020 08:13:43 +0000 (09:13 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 4 Dec 2020 08:16:41 +0000 (09:16 +0100)
commitb44ac4f4c7a8bbe5eaa2701aa9452eaf2c96e1dd
tree39c5fa6ec9ab24d282c75bb31e15fca0f584e27d
parent73b6e50a22dea9ae6144beaaa675d2ac62c281ca
elf: Process glibc-hwcaps subdirectories in ldconfig

Libraries from these subdirectories are added to the cache
with a special hwcap bit DL_CACHE_HWCAP_EXTENSION, so that
they are ignored by older dynamic loaders.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
elf/cache.c
elf/ldconfig.c
sysdeps/generic/dl-cache.h
sysdeps/generic/ldconfig.h