mirror of git://sourceware.org/git/glibc.git
[AArch64] Update dl-procinfo for new HWCAP flags in Linux 4.12
Follow up to commit 512d245bc3
.
* 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.
This commit is contained in:
parent
0757b139fc
commit
82e0660050
|
@ -1,3 +1,10 @@
|
||||||
|
2017-07-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2017-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
2017-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (_dl_procinfo): Revert.
|
* sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (_dl_procinfo): Revert.
|
||||||
|
|
|
@ -59,11 +59,13 @@ PROCINFO_CLASS struct cpu_features _dl_aarch64_cpu_features
|
||||||
#if !defined PROCINFO_DECL && defined SHARED
|
#if !defined PROCINFO_DECL && defined SHARED
|
||||||
._dl_aarch64_cap_flags
|
._dl_aarch64_cap_flags
|
||||||
#else
|
#else
|
||||||
PROCINFO_CLASS const char _dl_aarch64_cap_flags[13][10]
|
PROCINFO_CLASS const char _dl_aarch64_cap_flags[16][10]
|
||||||
#endif
|
#endif
|
||||||
#ifndef PROCINFO_DECL
|
#ifndef PROCINFO_DECL
|
||||||
|
/* Matches the names in arch/arm64/kernel/cpuinfo.c of Linux. */
|
||||||
= { "fp", "asimd", "evtstrm", "aes", "pmull", "sha1", "sha2", "crc32",
|
= { "fp", "asimd", "evtstrm", "aes", "pmull", "sha1", "sha2", "crc32",
|
||||||
"atomics", "fphp", "asimdhp", "cpuid", "asimdrdm"}
|
"atomics", "fphp", "asimdhp", "cpuid", "asimdrdm", "jscvt", "fcma",
|
||||||
|
"lrcpc" }
|
||||||
#endif
|
#endif
|
||||||
#if !defined SHARED || defined PROCINFO_DECL
|
#if !defined SHARED || defined PROCINFO_DECL
|
||||||
;
|
;
|
||||||
|
|
|
@ -28,10 +28,10 @@
|
||||||
#define _dl_procinfo(type, word) -1
|
#define _dl_procinfo(type, word) -1
|
||||||
|
|
||||||
/* Number of HWCAP bits set. */
|
/* Number of HWCAP bits set. */
|
||||||
#define _DL_HWCAP_COUNT 13
|
#define _DL_HWCAP_COUNT 16
|
||||||
|
|
||||||
/* Offset of the last bit allocated in HWCAP. */
|
/* Offset of the last bit allocated in HWCAP. */
|
||||||
#define _DL_HWCAP_LAST 12
|
#define _DL_HWCAP_LAST 15
|
||||||
|
|
||||||
/* HWCAP_CPUID should be available by default to influence IFUNC as well as
|
/* HWCAP_CPUID should be available by default to influence IFUNC as well as
|
||||||
library search. */
|
library search. */
|
||||||
|
|
Loading…
Reference in New Issue