mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 14:30:06 +00:00
2376944b9e
The new IBM z16 is added to platform string array. The macro _DL_PLATFORMS_COUNT is incremented. _dl_hwcaps_subdir is extended by "z16" if HWCAP_S390_VXRS_PDE2 is set. HWCAP_S390_NNPA is not tested in _dl_hwcaps_subdirs_active as those instructions may be replaced or removed in future. tst-glibc-hwcaps.c is extended in order to test z16 via new marker5. A fatal glibc error is dumped if glibc was build with architecture level set for z16, but run on an older machine. (See dl-hwcap-check.h)
39 lines
1.9 KiB
Plaintext
39 lines
1.9 KiB
Plaintext
# test-container does not support scripts in sysdeps directories, so
|
|
# collect everything in one file.
|
|
|
|
cp $B/elf/libmarkermod2-1.so $L/libmarkermod2.so
|
|
cp $B/elf/libmarkermod3-1.so $L/libmarkermod3.so
|
|
cp $B/elf/libmarkermod4-1.so $L/libmarkermod4.so
|
|
cp $B/elf/libmarkermod5-1.so $L/libmarkermod5.so
|
|
|
|
mkdirp 0770 $L/glibc-hwcaps/power9
|
|
cp $B/elf/libmarkermod2-2.so $L/glibc-hwcaps/power9/libmarkermod2.so
|
|
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/z16
|
|
cp $B/elf/libmarkermod5-2.so $L/glibc-hwcaps/z13/libmarkermod5.so
|
|
cp $B/elf/libmarkermod5-3.so $L/glibc-hwcaps/z14/libmarkermod5.so
|
|
cp $B/elf/libmarkermod5-4.so $L/glibc-hwcaps/z15/libmarkermod5.so
|
|
cp $B/elf/libmarkermod5-5.so $L/glibc-hwcaps/z16/libmarkermod5.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
|
|
cp $B/elf/libmarkermod3-2.so $L/glibc-hwcaps/x86-64-v2/libmarkermod3.so
|
|
cp $B/elf/libmarkermod3-3.so $L/glibc-hwcaps/x86-64-v3/libmarkermod3.so
|
|
mkdirp 0770 $L/glibc-hwcaps/x86-64-v4
|
|
cp $B/elf/libmarkermod4-2.so $L/glibc-hwcaps/x86-64-v2/libmarkermod4.so
|
|
cp $B/elf/libmarkermod4-3.so $L/glibc-hwcaps/x86-64-v3/libmarkermod4.so
|
|
cp $B/elf/libmarkermod4-4.so $L/glibc-hwcaps/x86-64-v4/libmarkermod4.so
|