about summary refs log tree commit diff
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.ibm.com>2019-03-21 09:14:26 +0100
committerStefan Liebler <stli@linux.ibm.com>2019-03-21 09:14:26 +0100
commit61f5e9470fb397a4c334938ac5a667427d9047df (patch)
treedd63eb57a649487930ea47aaab6bddbd4e187488
parent57ada43c905eec7ba28fe60a08b93a52d88e26c1 (diff)
downloadglibc-61f5e9470fb397a4c334938ac5a667427d9047df.tar.gz
glibc-61f5e9470fb397a4c334938ac5a667427d9047df.tar.xz
glibc-61f5e9470fb397a4c334938ac5a667427d9047df.zip
S390: Mark vx and vxe as important hwcap.
This patch adds vx and vxe as important hwcaps
which allows one to provide shared libraries
tuned for platforms with non-vx/-vxe, vx or vxe.

ChangeLog:

	* sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
	Add HWCAP_S390_VX and HWCAP_S390_VXE.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/s390/dl-procinfo.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c27da0f6ac..8cd9d8ba70 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-03-21  Stefan Liebler  <stli@linux.ibm.com>
+
+	* sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
+	Add HWCAP_S390_VX and HWCAP_S390_VXE.
+
 2019-03-20  mansayk  <6688000@gmail.com>
 
 	[BZ #24296]
diff --git a/sysdeps/s390/dl-procinfo.h b/sysdeps/s390/dl-procinfo.h
index b4b81fc70a..99697ae649 100644
--- a/sysdeps/s390/dl-procinfo.h
+++ b/sysdeps/s390/dl-procinfo.h
@@ -57,7 +57,8 @@ enum
 };
 
 #define HWCAP_IMPORTANT (HWCAP_S390_ZARCH | HWCAP_S390_LDISP \
-			  | HWCAP_S390_EIMM | HWCAP_S390_DFP)
+			 | HWCAP_S390_EIMM | HWCAP_S390_DFP  \
+			 | HWCAP_S390_VX | HWCAP_S390_VXE)
 
 /* We cannot provide a general printing function.  */
 #define _dl_procinfo(type, word) -1