]> 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)
committerRiku Voipio <riku.voipio@linaro.org>
Fri, 2 May 2014 18:59:36 +0000 (21:59 +0300)
commit24e76ff06bcd0936ee8b04b15dca42efb7d614d1
treedc266f583cf35ce57a18b0a53b4f3d7f3f308c00
parent24682654654a2e7b50afc27880f4098e5fca3742
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>
linux-user/elfload.c