Skip to content
Commit e0efb023 authored by Peter Maydell's avatar Peter Maydell Committed by Michael Roth
Browse files

hw/arm/boot: Set PC correctly when loading AArch64 ELF files



The code in do_cpu_reset() correctly handled AArch64 CPUs
when running Linux kernels, but was missing code in the
branch of the if() that deals with loading ELF files.
Correctly jump to the ELF entry point on reset rather than
leaving the reset PC at zero.

Reported-by: default avatarChristopher Covington <cov@codeaurora.org>
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Tested-by: default avatarChristopher Covington <cov@codeaurora.org>
Cc: qemu-stable@nongnu.org
(cherry picked from commit a9047ec3)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent d56b0b85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment