]> git.ipfire.org Git - thirdparty/qemu.git/commit
linux-user/elfload.c: Fix incorrect ARM HWCAP bits
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 2 May 2014 13:45:12 +0000 (14:45 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 21 Jul 2014 03:17:09 +0000 (22:17 -0500)
commit83b1dc162c42fd8c250bbbf3fea3d6d7d766b8b1
tree3d222b9609a296e6280fafe031a69d1656e4ee15
parentc2d37222ae82ab1f9d528e19b2ca7103f66e3542
linux-user/elfload.c: Fix incorrect ARM HWCAP bits

The ELF HWCAP bits for ARM features THUMBEE, NEON, VFPv3 and VFPv3D16 are
all off by one compared to the kernel definitions. Fix this discrepancy
and add in the missing CRUNCH bit which was the cause of the off-by-one
error. (We don't emulate any of the CPUs which have that weird hardware,
so it's otherwise uninteresting to us.)

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