]> git.ipfire.org Git - thirdparty/qemu.git/commit
linux-user/elfload.c: Update ARM HWCAP bits
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 2 May 2014 13:45:13 +0000 (14:45 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 26 Jun 2014 20:42:08 +0000 (15:42 -0500)
commit64b210d4d570602ac232337c295d87e8188104ed
tree0290da8fdeca081f856f4b19c3166db1d6bcd767
parentf6de3526a0c853c22c55e7087e4c7d04e408bf2c
linux-user/elfload.c: Update ARM HWCAP bits

The kernel has added support for a number of new ARM HWCAP bits;
add them to QEMU, including support for setting them where we have
a corresponding CPU feature bit.

We were also incorrectly setting the VFPv3D16 HWCAP -- this means
"only 16 D registers", not "supports 16-bit floating point format";
since QEMU always has 32 D registers for VFPv3, we can just remove
the line that incorrectly set this bit.

The kernel does not set the HWCAP_FPA even if it is providing FPA
emulation via nwfpe, so don't set this bit in QEMU either.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-stable@nongnu.org
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
(cherry picked from commit 24682654654a2e7b50afc27880f4098e5fca3742)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
linux-user/elfload.c