[PATCH v3 0/2] Basic glibc-hwcaps enablement
Florian Weimer
fweimer@redhat.com
Thu Oct 29 18:15:08 GMT 2020
Changes from v2:
* Fix indentation issues in elf/Makefile. Renamed variable
$(glibc-hwcaps-first-subdirs-for-tests) and added a comment.
* Use <sys/platform/x86.h> in the x86_64 test.
Florian Weimer (2):
elf: Add glibc-hwcaps support for LD_LIBRARY_PATH
x86_64: Add glibc-hwcaps support
elf/Makefile | 67 ++++++++++++--
elf/dl-hwcaps-subdirs.c | 29 ++++++
elf/dl-hwcaps.c | 138 ++++++++++++++++++++++++----
elf/dl-hwcaps.h | 105 ++++++++++++++++++++++
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/x86_64/Makefile | 36 +++++++-
sysdeps/x86_64/dl-hwcaps-subdirs.c | 66 ++++++++++++++
sysdeps/x86_64/tst-glibc-hwcaps.c | 76 ++++++++++++++++
19 files changed, 948 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/x86_64/dl-hwcaps-subdirs.c
create mode 100644 sysdeps/x86_64/tst-glibc-hwcaps.c
--
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill
More information about the Libc-alpha
mailing list