]> git.ipfire.org Git - thirdparty/qemu.git/commit
linux-user/elfload.c: Fix A64 code which was incorrectly acting like A32
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 2 May 2014 13:45:14 +0000 (14:45 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 21 Jul 2014 03:17:33 +0000 (22:17 -0500)
commit912d9cc089fbc8044d97106e9abfec603d83ef52
tree221a224611c947b53028e6c74a402c83f5918b07
parent074f673a9a3ef557dc732a25bd3aa9470eab82c3
linux-user/elfload.c: Fix A64 code which was incorrectly acting like A32

The ARM target-specific code in elfload.c was incorrectly allowing
the 64-bit ARM target to use most of the existing 32-bit definitions:
most noticably this meant that our HWCAP bits passed to the guest
were wrong, and register handling when dumping core was totally
broken. Fix this by properly separating the 64 and 32 bit code,
since they have more differences than similarities.

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 24e76ff06bcd0936ee8b04b15dca42efb7d614d1)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
linux-user/elfload.c