[v2,0/3] glibc-hwcaps support for LD_LIBRARY_PATH

Message ID cover.1602515612.git.fweimer@redhat.com
Headers
Series glibc-hwcaps support for LD_LIBRARY_PATH |

Message

Florian Weimer Oct. 12, 2020, 3:21 p.m. UTC
  This sub-series implements glibc-hwcaps for LD_LIBRARY_PATH, with
auto-detected paths for x86-64 and POWER ("power10" being untested).

Paul, I hope I have addressed your comments regarding magic bits with
the new helper function, _dl_hwcaps_subdirs_build_bitmask.

Thanks,
Florian

Florian Weimer (3):
  elf: Add glibc-hwcaps support for LD_LIBRARY_PATH
  x86_64: Add glibc-hwcaps support
  powerpc64le: Add glibc-hwcaps support

 elf/Makefile                                  |  66 ++++++++-
 elf/dl-hwcaps-subdirs.c                       |  29 ++++
 elf/dl-hwcaps.c                               | 138 ++++++++++++++---
 elf/dl-hwcaps.h                               | 103 +++++++++++++
 elf/dl-hwcaps_split.c                         |  77 ++++++++++
 elf/dl-load.c                                 |   7 +-
 elf/dl-main.h                                 |  11 +-
 elf/dl-support.c                              |   5 +-
 elf/dl-usage.c                                |  68 ++++++++-
 elf/markermodMARKER-VALUE.c                   |  29 ++++
 elf/rtld.c                                    |  18 +++
 elf/tst-dl-hwcaps_split.c                     | 139 ++++++++++++++++++
 elf/tst-glibc-hwcaps-mask.c                   |  31 ++++
 elf/tst-glibc-hwcaps-prepend.c                |  32 ++++
 elf/tst-glibc-hwcaps.c                        |  28 ++++
 sysdeps/generic/ldsodefs.h                    |  20 ++-
 sysdeps/powerpc/powerpc64/le/Makefile         |  22 +++
 .../powerpc/powerpc64/le/dl-hwcaps-subdirs.c  |  39 +++++
 .../powerpc/powerpc64/le/tst-glibc-hwcaps.c   |  54 +++++++
 sysdeps/x86_64/Makefile                       |  36 ++++-
 sysdeps/x86_64/dl-hwcaps-subdirs.c            |  66 +++++++++
 sysdeps/x86_64/tst-glibc-hwcaps.c             |  65 ++++++++
 22 files changed, 1049 insertions(+), 34 deletions(-)
 create mode 100644 elf/dl-hwcaps-subdirs.c
 create mode 100644 elf/dl-hwcaps_split.c
 create mode 100644 elf/markermodMARKER-VALUE.c
 create mode 100644 elf/tst-dl-hwcaps_split.c
 create mode 100644 elf/tst-glibc-hwcaps-mask.c
 create mode 100644 elf/tst-glibc-hwcaps-prepend.c
 create mode 100644 elf/tst-glibc-hwcaps.c
 create mode 100644 sysdeps/powerpc/powerpc64/le/dl-hwcaps-subdirs.c
 create mode 100644 sysdeps/powerpc/powerpc64/le/tst-glibc-hwcaps.c
 create mode 100644 sysdeps/x86_64/dl-hwcaps-subdirs.c
 create mode 100644 sysdeps/x86_64/tst-glibc-hwcaps.c