mbox series

[0/5] Linux: Auxiliary vector parsing cleanups

Message ID cover.1641922962.git.fweimer@redhat.com
Headers show
Series Linux: Auxiliary vector parsing cleanups | expand

Message

Florian Weimer Jan. 11, 2022, 6:43 p.m. UTC
This removes some support code for pre-2.4.0 kernels and Native Client.

The simplified version of _dl_sysdep_start has a higher chance to run on
CPUs with older ISA levels, which is the main motivation for this
cleanup.

Thanks,
Florian

Florian Weimer (5):
  elf: Merge dl-sysdep.c into the Linux version
  Linux: Remove HAVE_AUX_SECURE, HAVE_AUX_XID, HAVE_AUX_PAGESIZE
  Linux: Remove DL_FIND_ARG_COMPONENTS
  Linux: Assume that NEED_DL_SYSINFO_DSO is always defined
  Linux: Consolidate auxiliary vector parsing

 elf/dl-support.c                             |  80 +----
 elf/dl-sysdep.c                              | 352 +------------------
 sysdeps/unix/sysv/linux/alpha/dl-auxv.h      |  18 +-
 sysdeps/unix/sysv/linux/dl-parse_auxv.h      |  61 ++++
 sysdeps/unix/sysv/linux/dl-sysdep.c          | 240 ++++++++++++-
 sysdeps/unix/sysv/linux/ldsodefs.h           |  12 -
 sysdeps/unix/sysv/linux/m68k/sysdep.h        |   4 +-
 sysdeps/unix/sysv/linux/powerpc/dl-auxv.h    |  14 +-
 sysdeps/unix/sysv/linux/powerpc/dl-support.c |   4 +
 9 files changed, 305 insertions(+), 480 deletions(-)
 create mode 100644 sysdeps/unix/sysv/linux/dl-parse_auxv.h
 create mode 100644 sysdeps/unix/sysv/linux/powerpc/dl-support.c


base-commit: 7e08db3359c86c94918feb33a1182cd0ff3bb10b