]> git.ipfire.org Git - thirdparty/glibc.git/commit
S390: Add new s390 platform z16.
authorStefan Liebler <stli@linux.ibm.com>
Wed, 13 Apr 2022 12:36:09 +0000 (14:36 +0200)
committerStefan Liebler <stli@linux.ibm.com>
Thu, 14 Apr 2022 12:20:47 +0000 (14:20 +0200)
commit5eddc29c92612966cbf08d3f41b0132f79142eeb
tree7f47bb0118fb03ee9140b1fd94634589a4b86053
parentc78ad8eb47a5a5a0f20cd5860fda6f7b32ae613b
S390: Add new s390 platform z16.

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)

(cherry picked from commit 2376944b9e5c0364b9fb473e4d8dabca31b57167)
elf/Makefile
elf/tst-glibc-hwcaps-cache.script
sysdeps/s390/dl-procinfo.c
sysdeps/s390/dl-procinfo.h
sysdeps/s390/s390-64/Makefile
sysdeps/s390/s390-64/dl-hwcaps-subdirs.c
sysdeps/s390/s390-64/tst-glibc-hwcaps.c