ARM: Add support for AT_HWCAP2 in _dl_procinfo
authorWill Newton <will.newton@linaro.org>
Wed, 25 Jun 2014 11:21:17 +0000 (12:21 +0100)
committerWill Newton <will.newton@linaro.org>
Wed, 25 Jun 2014 15:02:04 +0000 (16:02 +0100)
commit9aea0cb842f02098d9c09b4855f883ddc8a8a97e
treea7b9c14ad610066b5ffabf1c1a68cf986d9c636f
parent6eaa65cefb0224a3cf6ee4b6649e3576802487b3
ARM: Add support for AT_HWCAP2 in _dl_procinfo

Add support for the new HWCAP2 values for ARMv8 added in the
3.15 kernel. Tested using QEMU which supports these extensions.

ChangeLog:

2014-06-25  Will Newton  <will.newton@linaro.org>

* sysdeps/unix/sysv/linux/arm/dl-procinfo.c
(_dl_arm_cap_flags): Add HWCAP2 values.
* sysdeps/unix/sysv/linux/arm/dl-procinfo.h
(_DL_HWCAP_COUNT): Increase to 37.
(_DL_HWCAP_LAST): New define.
(_DL_HWCAP2_LAST): New define.
(_dl_procinfo): Add support for printing
AT_HWCAP2 entries.
(_dl_string_hwcap): Use _dl_hwcap_string.
ChangeLog
sysdeps/unix/sysv/linux/arm/dl-procinfo.c
sysdeps/unix/sysv/linux/arm/dl-procinfo.h