diff options
author | Stefan Liebler <stli@linux.ibm.com> | 2021-02-16 16:18:56 +0100 |
---|---|---|
committer | Stefan Liebler <stli@linux.ibm.com> | 2021-02-16 16:31:20 +0100 |
commit | 25251c0707fe34f30a27381a5fabc35435a96621 (patch) | |
tree | 9a8414b9b07b165603544c28a0b0b79244e46c8d /sysdeps/s390 | |
parent | fb1905eed8535d9ea4518df82b823544de37f7d8 (diff) | |
download | glibc-25251c0707fe34f30a27381a5fabc35435a96621.zip glibc-25251c0707fe34f30a27381a5fabc35435a96621.tar.gz glibc-25251c0707fe34f30a27381a5fabc35435a96621.tar.bz2 |
S390: Add new hwcap values.
The new hwcap values indicate support for arch14 architecture.
Diffstat (limited to 'sysdeps/s390')
-rw-r--r-- | sysdeps/s390/dl-procinfo.c | 5 | ||||
-rw-r--r-- | sysdeps/s390/dl-procinfo.h | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/sysdeps/s390/dl-procinfo.c b/sysdeps/s390/dl-procinfo.c index 0c334a2..c174e27 100644 --- a/sysdeps/s390/dl-procinfo.c +++ b/sysdeps/s390/dl-procinfo.c @@ -46,12 +46,13 @@ #if !defined PROCINFO_DECL && defined SHARED ._dl_s390_cap_flags #else -PROCINFO_CLASS const char _dl_s390_cap_flags[19][9] +PROCINFO_CLASS const char _dl_s390_cap_flags[21][9] #endif #ifndef PROCINFO_DECL = { "esan3", "zarch", "stfle", "msa", "ldisp", "eimm", "dfp", "edat", "etf3eh", - "highgprs", "te", "vx", "vxd", "vxe", "gs", "vxe2", "vxp", "sort", "dflt" + "highgprs", "te", "vx", "vxd", "vxe", "gs", "vxe2", "vxp", "sort", "dflt", + "vxp2", "nnpa" } #endif #if !defined SHARED || defined PROCINFO_DECL diff --git a/sysdeps/s390/dl-procinfo.h b/sysdeps/s390/dl-procinfo.h index 9e1a8c7..2d9c305 100644 --- a/sysdeps/s390/dl-procinfo.h +++ b/sysdeps/s390/dl-procinfo.h @@ -21,7 +21,7 @@ #define _DL_PROCINFO_H 1 #include <ldsodefs.h> -#define _DL_HWCAP_COUNT 19 +#define _DL_HWCAP_COUNT 21 #define _DL_PLATFORMS_COUNT 10 @@ -61,6 +61,8 @@ enum HWCAP_S390_VXRS_PDE = 1 << 16, HWCAP_S390_SORT = 1 << 17, HWCAP_S390_DFLT = 1 << 18, + HWCAP_S390_VXRS_PDE2 = 1 << 19, + HWCAP_S390_NNPA = 1 << 20, }; #define HWCAP_IMPORTANT (HWCAP_S390_ZARCH | HWCAP_S390_LDISP \ |