mbox series

[0/6] Remove legacy hwcaps support

Message ID 20220914200724.8e685fbbaf441c96d19011c6@otheo.eu
Headers show
Series Remove legacy hwcaps support | expand

Message

Javier Pello Sept. 14, 2022, 6:07 p.m. UTC
Here is a patch series to remove legacy hwcaps support, which was
deprecated in 2.33, from the dynamic loader and ldconfig, as
discussed.

The first four patches implement the removal and then simplify some
code in elf/cache.c. The fifth patch removes _dl_string_hwcap from
the code base, as it becomes unused after the other ones, but I am
not sure if this is wanted or not. The sixth patch simplifies
printing of hwcaps subdirectories in the output of ld.so --help,
as using the print_hwcap_1 machinery looks like an overkill after
the legacy hwcaps code has gone away.


Javier Pello (6):
  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
  elf: Remove _dl_string_hwcap
  elf: Simplify output of hwcap subdirectories in ld.so help

 elf/cache.c                                   |  42 +---
 elf/dl-hwcaps.c                               | 180 +-----------------
 elf/dl-usage.c                                |  75 +-------
 elf/ldconfig.c                                | 150 +--------------
 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 --
 15 files changed, 30 insertions(+), 502 deletions(-)

Comments

Joseph Myers Sept. 14, 2022, 9:23 p.m. UTC | #1
I think this needs a NEWS entry for the removal.