diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-12-10 13:51:18 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-12-10 13:51:18 +0100 |
commit | fdf8fbca455ca3ef57235bde907bcc6a624ac5aa (patch) | |
tree | 2fc4a1d4ca1d3c92e458095a20b2acc7f1d7fd20 /elf | |
parent | 1bb8d05b9c751f6909e85ee96f6c78d536987bfd (diff) | |
download | glibc-fdf8fbca455ca3ef57235bde907bcc6a624ac5aa.tar glibc-fdf8fbca455ca3ef57235bde907bcc6a624ac5aa.tar.gz glibc-fdf8fbca455ca3ef57235bde907bcc6a624ac5aa.tar.bz2 glibc-fdf8fbca455ca3ef57235bde907bcc6a624ac5aa.zip |
s390x: Add glibc-hwcaps support
Subdirectories z13, z14, z15 can be selected, mostly based on the
level of support for vector instructions.
Co-Authored-By: Stefan Liebler <stli@linux.ibm.com>
Diffstat (limited to 'elf')
-rw-r--r-- | elf/Makefile | 2 | ||||
-rw-r--r-- | elf/tst-glibc-hwcaps-cache.script | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile index 6b290e2540..66ffbdd8dc 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -1832,7 +1832,7 @@ $(objpfx)argv0test.out: tst-rtld-argv0.sh $(objpfx)ld.so \ # glibc-hwcaps mechanism for this architecture). Used to obtain test # coverage for some glibc-hwcaps tests for the widest possible range # of systems. -glibc-hwcaps-first-subdirs-for-tests = power9 x86-64-v2 +glibc-hwcaps-first-subdirs-for-tests = power9 x86-64-v2 z13 # The test modules are parameterized by preprocessor macros. LDFLAGS-libmarkermod1-1.so += -Wl,-soname,libmarkermod1.so diff --git a/elf/tst-glibc-hwcaps-cache.script b/elf/tst-glibc-hwcaps-cache.script index 6a4675f9bd..c3271f61f9 100644 --- a/elf/tst-glibc-hwcaps-cache.script +++ b/elf/tst-glibc-hwcaps-cache.script @@ -11,6 +11,16 @@ mkdirp 0770 $L/glibc-hwcaps/power10 cp $B/elf/libmarkermod3-2.so $L/glibc-hwcaps/power9/libmarkermod3.so cp $B/elf/libmarkermod3-3.so $L/glibc-hwcaps/power10/libmarkermod3.so +mkdirp 0770 $L/glibc-hwcaps/z13 +cp $B/elf/libmarkermod2-2.so $L/glibc-hwcaps/z13/libmarkermod2.so +mkdirp 0770 $L/glibc-hwcaps/z14 +cp $B/elf/libmarkermod3-2.so $L/glibc-hwcaps/z13/libmarkermod3.so +cp $B/elf/libmarkermod3-3.so $L/glibc-hwcaps/z14/libmarkermod3.so +mkdirp 0770 $L/glibc-hwcaps/z15 +cp $B/elf/libmarkermod4-2.so $L/glibc-hwcaps/z13/libmarkermod4.so +cp $B/elf/libmarkermod4-3.so $L/glibc-hwcaps/z14/libmarkermod4.so +cp $B/elf/libmarkermod4-4.so $L/glibc-hwcaps/z15/libmarkermod4.so + mkdirp 0770 $L/glibc-hwcaps/x86-64-v2 cp $B/elf/libmarkermod2-2.so $L/glibc-hwcaps/x86-64-v2/libmarkermod2.so mkdirp 0770 $L/glibc-hwcaps/x86-64-v3 |