Assume only FLAG_ELF_LIBC6 suport

System Internals / glibc - Lucas A. M. Magalhaes [linux.ibm.com] - 4 August 2022 12:09 UTC

The older libc versions are obsolete for over twenty years now. This patch removes the special flags for libc5 and libc4 and assumes that all libraries cached are libc6 compatible and use FLAG_ELF_LIBC6.

Checked with a build for all affected architectures.

8ee878592c Assume only FLAG_ELF_LIBC6 suport
elf/cache.c | 6 +--
elf/ldconfig.c | 63 ++------------------------
elf/readelflib.c | 46 +++----------------
elf/readlib.c | 25 +---------
sysdeps/unix/sysv/linux/aarch64/ldconfig.h | 30 ------------
sysdeps/unix/sysv/linux/arc/ldconfig.h | 27 -----------
sysdeps/unix/sysv/linux/arm/ldconfig.h | 25 ----------
sysdeps/unix/sysv/linux/csky/ldconfig.h | 34 --------------
sysdeps/unix/sysv/linux/i386/ldconfig.h | 6 ---
sysdeps/unix/sysv/linux/ia64/ldconfig.h | 24 ----------
sysdeps/unix/sysv/linux/m68k/ldconfig.h | 1 -
sysdeps/unix/sysv/linux/mips/mips64/ldconfig.h | 25 ----------
sysdeps/unix/sysv/linux/powerpc/ldconfig.h | 27 -----------
sysdeps/unix/sysv/linux/riscv/ldconfig.h | 36 ---------------
sysdeps/unix/sysv/linux/s390/ldconfig.h | 7 ---
sysdeps/unix/sysv/linux/x86_64/ldconfig.h | 26 -----------
16 files changed, 14 insertions(+), 394 deletions(-)

Upstream: sourceware.org


  • Share