]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.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>
Thu, 26 Jun 2014 20:43:30 +0000 (15:43 -0500)
commitb6760b6203cb22ce6343c947a1dc14d61d1f1619
tree41939ca230f6e12b765f1bae69f203802278c4da
parent64b210d4d570602ac232337c295d87e8188104ed
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)

Conflicts:
linux-user/elfload.c

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
linux-user/elfload.c