From 64c6727e4ad39c072993e762e58a2972b690024a Mon Sep 17 00:00:00 2001 From: Peter Maydell <peter.maydell@linaro.org> Date: Sun, 4 Mar 2018 12:52:33 -0500 Subject: [PATCH] target/arm: Fix outdated comment about exception exit When we switched our handling of exception exit to detect the magic addresses at translate time rather than via a do_unassigned_access hook, we forgot to update a comment; correct the omission. Backports commit 9d17da4b68a05fc78daa47f0f3d914eea5d802ea from qemu --- qemu/target/arm/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu/target/arm/helper.c b/qemu/target/arm/helper.c index 94bce484..0ba8bfa6 100644 --- a/qemu/target/arm/helper.c +++ b/qemu/target/arm/helper.c @@ -5398,7 +5398,7 @@ static void do_v7m_exception_exit(ARMCPU *cpu) bool rettobase = false; /* We can only get here from an EXCP_EXCEPTION_EXIT, and - * arm_v7m_do_unassigned_access() enforces the architectural rule + * gen_bx_excret() enforces the architectural rule * that jumps to magic addresses don't have magic behaviour unless * we're in Handler mode (compare pseudocode BXWritePC()). */