Add AArch64 hwcap values from Linux 4.17.

System Internals / glibc - Joseph Myers [codesourcery.com] - 5 June 2018 15:51 EDT

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.

0c1c33b2f5 Add AArch64 hwcap values from Linux 4.17.
ChangeLog | 9 +++++++++
sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h | 4 ++++
sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c | 4 ++--
3 files changed, 15 insertions(+), 2 deletions(-)

Upstream: sourceware.org


  • Share