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>2019-03-19 14:02:17 +0000
committerJoseph Myers <joseph@codesourcery.com>2019-03-19 14:02:17 +0000
commita2e57f89a35e6056c9488428e68c4889e114ef71 (patch)
tree95210d645d06b97a6e1377b17eb89485787d06ff /sysdeps/unix/sysv/linux/aarch64/bits
parent78919d3886c9543279ec755a701e279c62b44164 (diff)
downloadglibc-a2e57f89a35e6056c9488428e68c4889e114ef71.tar.gz
glibc-a2e57f89a35e6056c9488428e68c4889e114ef71.tar.xz
glibc-a2e57f89a35e6056c9488428e68c4889e114ef71.zip
Add AArch64 HWCAPs from Linux 5.0.
This patch adds new AArch64 HWCAPs from Linux 5.0 to the AArch64
bits/hwcap.h and dl-procinfo.c.

Tested (compilation only) with build-many-glibcs.py for
aarch64-linux-gnu.

	* sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
	macro.
	(HWCAP_PACA): Likewise.
	(HWCAP_PACG): Likewise.
	* sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
	Increase to 32.
	(_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
Diffstat (limited to 'sysdeps/unix/sysv/linux/aarch64/bits')
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
index 9a395c597f..5f50623953 100644
--- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
+++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
@@ -51,3 +51,6 @@
 #define HWCAP_ILRCPC		(1 << 26)
 #define HWCAP_FLAGM		(1 << 27)
 #define HWCAP_SSBS		(1 << 28)
+#define HWCAP_SB		(1 << 29)
+#define HWCAP_PACA		(1 << 30)
+#define HWCAP_PACG		(1UL << 31)