]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
S390: Sync HWCAP names with kernel by adding aliases [BZ #25971]
authorStefan Liebler <stli@linux.ibm.com>
Fri, 21 Aug 2020 09:23:17 +0000 (11:23 +0200)
committerStefan Liebler <stli@linux.ibm.com>
Fri, 21 Aug 2020 09:23:17 +0000 (11:23 +0200)
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

sysdeps/s390/dl-procinfo.h
sysdeps/unix/sysv/linux/s390/bits/hwcap.h

index 0db4bc39c7cd7afbc1ee5024139923f19e84a477..08eee109f70507f7c951ae620c729733aa6eaa06 100644 (file)
@@ -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,
index 6adbec018bc5b11c842b232aa95c86f6c1e500bd..f2998ff1317d53ed9f1544ce4e48b0c6a72c6047 100644 (file)
 #define HWCAP_S390_HIGH_GPRS    512
 #define HWCAP_S390_TE           1024
 #define HWCAP_S390_VX           2048
+#define HWCAP_S390_VXRS         HWCAP_S390_VX
 #define HWCAP_S390_VXD          4096
+#define HWCAP_S390_VXRS_BCD     HWCAP_S390_VXD
 #define HWCAP_S390_VXE          8192
+#define HWCAP_S390_VXRS_EXT     HWCAP_S390_VXE
 #define HWCAP_S390_GS           16384
 #define HWCAP_S390_VXRS_EXT2    32768
 #define HWCAP_S390_VXRS_PDE     65536