about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/aarch64/bits
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-06-05 15:51:12 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-06-05 15:51:12 +0000
commit0c1c33b2f5269cce6499ef8f8d1a291f2674a8fd (patch)
tree1aa7fee4d1bd31ac889b1589569c5efce91af2a1 /sysdeps/unix/sysv/linux/aarch64/bits
parentbef1cbf4da54aeb213e2542ccfdfebb22fb15820 (diff)
downloadglibc-0c1c33b2f5269cce6499ef8f8d1a291f2674a8fd.tar.gz
glibc-0c1c33b2f5269cce6499ef8f8d1a291f2674a8fd.tar.xz
glibc-0c1c33b2f5269cce6499ef8f8d1a291f2674a8fd.zip
Add AArch64 hwcap values from Linux 4.17.
Linux 4.17 adds four new AArch64 hwcap values.  This patch adds them
to glibc's AArch64 bits/hwcap.h, with corresponding dl-procinfo.c
updates.

Tested with build-many-glibcs.py for aarch64.

	* sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
	macro.
	(HWCAP_USCAT): Likewise.
	(HWCAP_ILRCPC): Likewise.
	(HWCAP_FLAGM): Likewise.
	* sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
	Increase to 28.
	(_dl_aarch64_cap_flags): Add new flag names.
Diffstat (limited to 'sysdeps/unix/sysv/linux/aarch64/bits')
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
index 6f05ec1464..083791349c 100644
--- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
+++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
@@ -45,3 +45,7 @@
 #define HWCAP_SHA512		(1 << 21)
 #define HWCAP_SVE		(1 << 22)
 #define HWCAP_ASIMDFHM		(1 << 23)
+#define HWCAP_DIT		(1 << 24)
+#define HWCAP_USCAT		(1 << 25)
+#define HWCAP_ILRCPC		(1 << 26)
+#define HWCAP_FLAGM		(1 << 27)