mbox

[v2,0/3] Remove kernel version and distinguish library check

Message ID 20220304133801.1868553-1-adhemerval.zanella@linaro.org
Headers

Message

Adhemerval Zanella March 4, 2022, 1:37 p.m. UTC
  First patch removes the kernel version check on Linux, which
is a feature that from times to times cases some issues (such
as [1]).

Second patch removes the same check on ldconfig.

Third removes the distinguish library check used to handle ancient
libc5 and aout files.

[1] https://github.com/microsoft/WSL/issues/3023

Adhemerval Zanella (3):
  Remove kernel version check
  elf: Remove ldconfig kernel version check
  Remove dl-librecon.h header.

 NEWS                                         |  7 ++
 config.h.in                                  |  3 +
 csu/libc-start.c                             |  8 --
 csu/version.c                                |  3 +
 elf/cache.c                                  | 55 ++----------
 elf/dl-cache.c                               |  3 -
 elf/dl-diagnostics.c                         |  5 --
 elf/dl-load.c                                | 95 ++++----------------
 elf/dl-support.c                             | 12 ---
 elf/ldconfig.c                               | 22 ++---
 elf/readelflib.c                             | 51 +----------
 elf/readlib.c                                |  9 +-
 elf/rtld.c                                   | 40 +--------
 sysdeps/generic/dl-cache.h                   |  1 -
 sysdeps/generic/dl-librecon.h                | 24 -----
 sysdeps/generic/ldconfig.h                   | 14 +--
 sysdeps/generic/ldsodefs.h                   |  9 --
 sysdeps/unix/sysv/linux/arm/readelflib.c     | 18 ++--
 sysdeps/unix/sysv/linux/configure            |  5 ++
 sysdeps/unix/sysv/linux/configure.ac         |  2 +
 sysdeps/unix/sysv/linux/dl-librecon.h        | 59 ------------
 sysdeps/unix/sysv/linux/dl-osinfo.h          | 25 ------
 sysdeps/unix/sysv/linux/dl-sysdep.c          | 93 -------------------
 sysdeps/unix/sysv/linux/dl-sysdep.h          |  7 --
 sysdeps/unix/sysv/linux/i386/dl-librecon.h   | 61 -------------
 sysdeps/unix/sysv/linux/ia64/readelflib.c    | 18 ++--
 sysdeps/unix/sysv/linux/m68k/dl-librecon.h   |  1 -
 sysdeps/unix/sysv/linux/mips/readelflib.c    | 18 ++--
 sysdeps/unix/sysv/linux/powerpc/readelflib.c | 18 ++--
 sysdeps/unix/sysv/linux/riscv/readelflib.c   | 18 ++--
 sysdeps/unix/sysv/linux/s390/readelflib.c    | 18 ++--
 sysdeps/unix/sysv/linux/sparc/readelflib.c   | 18 ++--
 sysdeps/unix/sysv/linux/x86/readelflib.c     | 18 ++--
 33 files changed, 126 insertions(+), 632 deletions(-)
 delete mode 100644 sysdeps/generic/dl-librecon.h
 delete mode 100644 sysdeps/unix/sysv/linux/dl-librecon.h
 delete mode 100644 sysdeps/unix/sysv/linux/i386/dl-librecon.h
 delete mode 100644 sysdeps/unix/sysv/linux/m68k/dl-librecon.h