diff options
author | Stefan Liebler <stli@linux.ibm.com> | 2022-04-13 14:36:09 +0200 |
---|---|---|
committer | Stefan Liebler <stli@linux.ibm.com> | 2022-04-14 10:37:45 +0200 |
commit | 2376944b9e5c0364b9fb473e4d8dabca31b57167 (patch) | |
tree | 667c9804b85bc97b8c465f433d965b479d1e8e81 /sysdeps/s390/dl-procinfo.c | |
parent | 535e935a284b2ec96659d1ac40eebf61321f2362 (diff) | |
download | glibc-2376944b9e5c0364b9fb473e4d8dabca31b57167.tar.gz glibc-2376944b9e5c0364b9fb473e4d8dabca31b57167.tar.xz glibc-2376944b9e5c0364b9fb473e4d8dabca31b57167.zip |
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)
Diffstat (limited to 'sysdeps/s390/dl-procinfo.c')
-rw-r--r-- | sysdeps/s390/dl-procinfo.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/s390/dl-procinfo.c b/sysdeps/s390/dl-procinfo.c index 2cdb3c8b5e..f142221a17 100644 --- a/sysdeps/s390/dl-procinfo.c +++ b/sysdeps/s390/dl-procinfo.c @@ -63,11 +63,12 @@ PROCINFO_CLASS const char _dl_s390_cap_flags[23][9] #if !defined PROCINFO_DECL && defined SHARED ._dl_s390_platforms #else -PROCINFO_CLASS const char _dl_s390_platforms[10][7] +PROCINFO_CLASS const char _dl_s390_platforms[11][7] #endif #ifndef PROCINFO_DECL = { - "g5", "z900", "z990", "z9-109", "z10", "z196", "zEC12", "z13", "z14", "z15" + "g5", "z900", "z990", "z9-109", "z10", "z196", "zEC12", "z13", "z14", "z15", + "z16" } #endif #if !defined SHARED || defined PROCINFO_DECL |