diff options
author | Joseph Myers <joseph@codesourcery.com> | 2014-02-20 03:29:34 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2014-02-20 03:29:34 +0000 |
commit | 5d7b57cad568188f97154c790f169d97b67cd54e (patch) | |
tree | c5a57bbeb6d0abcf859508121e51870fd055d902 /sysdeps | |
parent | 63689d6165dc044157da8757bf4dfdee9d83b3e8 (diff) | |
download | glibc-5d7b57cad568188f97154c790f169d97b67cd54e.tar glibc-5d7b57cad568188f97154c790f169d97b67cd54e.tar.gz glibc-5d7b57cad568188f97154c790f169d97b67cd54e.tar.bz2 glibc-5d7b57cad568188f97154c790f169d97b67cd54e.zip |
Update ARM HWCAP data.
This patch updates the ARM HWCAP data (both bits/hwcap.h and
dl-procinfo.[ch]) to match Linux 3.13.
* sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
macro.
(HWCAP_ARM_LPAE): Likewise.
(HWCAP_ARM_EVTSTRM): Likewise.
* sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
Add vpfd32, lpae and evtstrm.
* sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
Increase to 22.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/arm/bits/hwcap.h | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/arm/dl-procinfo.c | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/arm/dl-procinfo.h | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/arm/bits/hwcap.h b/sysdeps/unix/sysv/linux/arm/bits/hwcap.h index b438d2a02f..cd8f93cf0a 100644 --- a/sysdeps/unix/sysv/linux/arm/bits/hwcap.h +++ b/sysdeps/unix/sysv/linux/arm/bits/hwcap.h @@ -40,3 +40,6 @@ #define HWCAP_ARM_VFPv4 65536 #define HWCAP_ARM_IDIVA 131072 #define HWCAP_ARM_IDIVT 262144 +#define HWCAP_ARM_VFPD32 524288 +#define HWCAP_ARM_LPAE 1048576 +#define HWCAP_ARM_EVTSTRM 2097152 diff --git a/sysdeps/unix/sysv/linux/arm/dl-procinfo.c b/sysdeps/unix/sysv/linux/arm/dl-procinfo.c index d304539f0c..113cda5cc3 100644 --- a/sysdeps/unix/sysv/linux/arm/dl-procinfo.c +++ b/sysdeps/unix/sysv/linux/arm/dl-procinfo.c @@ -46,13 +46,13 @@ #if !defined PROCINFO_DECL && defined SHARED ._dl_arm_cap_flags #else -PROCINFO_CLASS const char _dl_arm_cap_flags[19][10] +PROCINFO_CLASS const char _dl_arm_cap_flags[22][10] #endif #ifndef PROCINFO_DECL = { "swp", "half", "thumb", "26bit", "fastmult", "fpa", "vfp", "edsp", "java", "iwmmxt", "crunch", "thumbee", "neon", "vfpv3", "vfpv3d16", - "tls", "vfpv4", "idiva", "idivt", + "tls", "vfpv4", "idiva", "idivt", "vfpd32", "lpae", "evtstrm", } #endif #if !defined SHARED || defined PROCINFO_DECL diff --git a/sysdeps/unix/sysv/linux/arm/dl-procinfo.h b/sysdeps/unix/sysv/linux/arm/dl-procinfo.h index 2f8f003e9f..20a3e92bbb 100644 --- a/sysdeps/unix/sysv/linux/arm/dl-procinfo.h +++ b/sysdeps/unix/sysv/linux/arm/dl-procinfo.h @@ -23,7 +23,7 @@ #include <ldsodefs.h> #include <sysdep.h> -#define _DL_HWCAP_COUNT 19 +#define _DL_HWCAP_COUNT 22 /* The kernel provides platform data but it is not interesting. */ #define _DL_HWCAP_PLATFORM 0 |