aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2017-07-18 11:15:12 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2017-07-19 13:50:23 +0100
commit82e06600505cc26810d263a964d9eca6f3cdfe91 (patch)
tree6726d1541eb65b2ae658ee016e33a8b76506fadf /sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
parent0757b139fc4fd393cb987e62a273fb2cd6e56772 (diff)
downloadglibc-82e06600505cc26810d263a964d9eca6f3cdfe91.tar
glibc-82e06600505cc26810d263a964d9eca6f3cdfe91.tar.gz
glibc-82e06600505cc26810d263a964d9eca6f3cdfe91.tar.bz2
glibc-82e06600505cc26810d263a964d9eca6f3cdfe91.zip
[AArch64] Update dl-procinfo for new HWCAP flags in Linux 4.12
Follow up to commit 512d245bc30cca893db6979f42f058e734f345c3. * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: (_dl_aarch64_cap_flags): Update. * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (_DL_HWCAP_COUNT, _DL_HWCAP_LAST): Update.
Diffstat (limited to 'sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c')
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c b/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
index bc37bad782..fed31fd9b5 100644
--- a/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
+++ b/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
@@ -59,11 +59,13 @@ PROCINFO_CLASS struct cpu_features _dl_aarch64_cpu_features
#if !defined PROCINFO_DECL && defined SHARED
._dl_aarch64_cap_flags
#else
-PROCINFO_CLASS const char _dl_aarch64_cap_flags[13][10]
+PROCINFO_CLASS const char _dl_aarch64_cap_flags[16][10]
#endif
#ifndef PROCINFO_DECL
+/* Matches the names in arch/arm64/kernel/cpuinfo.c of Linux. */
= { "fp", "asimd", "evtstrm", "aes", "pmull", "sha1", "sha2", "crc32",
- "atomics", "fphp", "asimdhp", "cpuid", "asimdrdm"}
+ "atomics", "fphp", "asimdhp", "cpuid", "asimdrdm", "jscvt", "fcma",
+ "lrcpc" }
#endif
#if !defined SHARED || defined PROCINFO_DECL
;