elf: Remove extra hwcap mechanism from ldconfig

System Internals / glibc - Florian Weimer [redhat.com] - 28 May 2020 08:21 EDT

Historically, this mechanism was used to process "nosegneg" subdirectories, and it is still used to include the "tls" subdirectories. With nosegneg support gone from ld.so, this is part no longer useful.

The entire mechanism is not well-designed because it causes the meaning of hwcap bits in ld.so.cache to depend on the kernel version that was used to generate the cache, which makes it difficult to use this mechanism for anything else in the future.

31563b6841 elf: Remove extra hwcap mechanism from ldconfig
elf/ldconfig.c | 87 +++++++++++-----------------------------------------------
1 file changed, 16 insertions(+), 71 deletions(-)

Upstream: sourceware.org


  • Share