aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/s390
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.ibm.com>2020-08-21 11:23:17 +0200
committerStefan Liebler <stli@linux.ibm.com>2020-08-21 11:23:17 +0200
commit756c306502498f999fdd494477b9cea1b45e4faf (patch)
treec0652cbc8ab843cafdb8f6dee662fabd3fc73c30 /sysdeps/s390
parentcd71f47acc935e4afd588c76e33b9f867daec90d (diff)
downloadglibc-756c306502498f999fdd494477b9cea1b45e4faf.zip
glibc-756c306502498f999fdd494477b9cea1b45e4faf.tar.gz
glibc-756c306502498f999fdd494477b9cea1b45e4faf.tar.bz2
S390: Sync HWCAP names with kernel by adding aliases [BZ #25971]
Unfortunately some HWCAP names like HWCAP_S390_VX differs between kernel (see <kernel>/arch/s390/include/asm/elf.h) and glibc. Therefore, those HWCAP names from kernel are now introduced as alias
Diffstat (limited to 'sysdeps/s390')
-rw-r--r--sysdeps/s390/dl-procinfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/s390/dl-procinfo.h b/sysdeps/s390/dl-procinfo.h
index 0db4bc3..08eee10 100644
--- a/sysdeps/s390/dl-procinfo.h
+++ b/sysdeps/s390/dl-procinfo.h
@@ -51,8 +51,11 @@ enum
HWCAP_S390_HIGH_GPRS = 1 << 9,
HWCAP_S390_TE = 1 << 10,
HWCAP_S390_VX = 1 << 11,
+ HWCAP_S390_VXRS = HWCAP_S390_VX,
HWCAP_S390_VXD = 1 << 12,
+ HWCAP_S390_VXRS_BCD = HWCAP_S390_VXD,
HWCAP_S390_VXE = 1 << 13,
+ HWCAP_S390_VXRS_EXT = HWCAP_S390_VXE,
HWCAP_S390_GS = 1 << 14,
HWCAP_S390_VXRS_EXT2 = 1 << 15,
HWCAP_S390_VXRS_PDE = 1 << 16,