[v3,0/8] Remove legacy hwcaps support

Message ID 20220927200352.0424a12908a437fef9d3a7bc@otheo.eu
Headers
Series Remove legacy hwcaps support |

Message

Javier Pello Sept. 27, 2022, 6:03 p.m. UTC
  Here is a respin of the series, now with 8 patches.

Patch 1 removes the tst-x86_64-1 test, as requested, as this test
would fail after the following commits.

Patches 2-5 (formerly 1-4) implement the removal of legacy hwcaps
support itself; all of them are reviewed except for patch 3, which
missed updating a comment.

Patch 6 adds a NEWS entry for the removal of the legacy hwcaps
support.

Patches 7 and 8 are unreviewed, and I wonder if they are wanted.
I am myself unsure about patch 7, but the changes in patch 8 do
simplify the code somewhat.


Javier Pello (8):
  x86_64: Remove platform directory library loading test
  elf: Remove legacy hwcaps support from the dynamic loader
  elf: Remove legacy hwcaps support from ldconfig
  elf: Remove hwcap parameter from add_to_cache signature
  elf: Remove hwcap and bits_hwcap fields from struct cache_entry
  Add NEWS entry for legacy hwcaps removal
  elf: Remove _dl_string_hwcap
  elf: Simplify output of hwcap subdirectories in ld.so help

 NEWS                                          |   5 +-
 elf/Makefile                                  |   6 -
 elf/cache.c                                   |  42 +---
 elf/dl-hwcaps.c                               | 184 +-----------------
 elf/dl-usage.c                                |  75 +------
 elf/ldconfig.c                                | 156 +--------------
 sysdeps/alpha/dl-procinfo.h                   |   2 -
 sysdeps/csky/dl-procinfo.h                    |   2 -
 sysdeps/generic/dl-procinfo.h                 |   2 -
 sysdeps/generic/ldconfig.h                    |   2 +-
 sysdeps/mips/dl-procinfo.h                    |   2 -
 sysdeps/powerpc/dl-procinfo.h                 |  10 -
 sysdeps/s390/dl-procinfo.h                    |  14 --
 sysdeps/sparc/dl-procinfo.h                   |  13 --
 sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h |  12 --
 sysdeps/unix/sysv/linux/arm/dl-procinfo.h     |  12 --
 sysdeps/x86/dl-hwcap.h                        |  14 --
 sysdeps/x86_64/Makefile                       |  16 --
 sysdeps/x86_64/tst-x86_64-1.c                 |  26 ---
 sysdeps/x86_64/tst-x86_64mod-1.c              |  22 ---
 20 files changed, 40 insertions(+), 577 deletions(-)
 delete mode 100644 sysdeps/x86_64/tst-x86_64-1.c
 delete mode 100644 sysdeps/x86_64/tst-x86_64mod-1.c