about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/arm/dl-procinfo.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2023-02-28 00:07:59 +0000
committerJoseph Myers <joseph@codesourcery.com>2023-02-28 00:07:59 +0000
commit8ebe9c0b38a9c1b309028d9c1ded7c06ded6bcad (patch)
treeaa35202612154850c88d226e98c41b6b8cf865f0 /sysdeps/unix/sysv/linux/arm/dl-procinfo.h
parent35ce4c99e7f810b8f63074aa3ac64917250890d3 (diff)
downloadglibc-8ebe9c0b38a9c1b309028d9c1ded7c06ded6bcad.tar.gz
glibc-8ebe9c0b38a9c1b309028d9c1ded7c06ded6bcad.tar.xz
glibc-8ebe9c0b38a9c1b309028d9c1ded7c06ded6bcad.zip
Add Arm HWCAP values from Linux 6.2 to bits/hwcap.h
Linux 6.2 adds six new Arm HWCAP values and two new HWCAP2 values; add
them to glibc's Arm bits/hwcap.h, with corresponding dl-procinfo.c and
dl-procinfo.h updates.

Tested with build-many-glibcs.py for arm-linux-gnueabi.
Diffstat (limited to 'sysdeps/unix/sysv/linux/arm/dl-procinfo.h')
-rw-r--r--sysdeps/unix/sysv/linux/arm/dl-procinfo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/arm/dl-procinfo.h b/sysdeps/unix/sysv/linux/arm/dl-procinfo.h
index 7d682978aa..171a3f0b64 100644
--- a/sysdeps/unix/sysv/linux/arm/dl-procinfo.h
+++ b/sysdeps/unix/sysv/linux/arm/dl-procinfo.h
@@ -24,11 +24,11 @@
 
 #define _DL_HWCAP_COUNT 27
 
-/* Low 22 bits are allocated in HWCAP.  */
-#define _DL_HWCAP_LAST		21
+/* Low 28 bits are allocated in HWCAP.  */
+#define _DL_HWCAP_LAST		27
 
-/* Low 5 bits are allocated in HWCAP2.  */
-#define _DL_HWCAP2_LAST		4
+/* Low 7 bits are allocated in HWCAP2.  */
+#define _DL_HWCAP2_LAST		6
 
 /* The kernel provides platform data but it is not interesting.  */
 #define _DL_HWCAP_PLATFORM	0