target/arm: Use v7m_stack_read() for reading the frame signature
commit4818bad98c8212fbbb0525d10761b6b65279ab92
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 26 Apr 2018 10:04:38 +0000 (26 11:04 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 26 Apr 2018 10:04:38 +0000 (26 11:04 +0100)
treecec9c0f5c89ef0ccaa127dd753cad3bafa4e96cb
parent145772707fe80395b87c244ccf5699a756f1946b
target/arm: Use v7m_stack_read() for reading the frame signature

In commit 95695effe8caa552b8f2 we changed the v7M/v8M stack
pop code to use a new v7m_stack_read() function that checks
whether the read should fail due to an MPU or bus abort.
We missed one call though, the one which reads the signature
word for the callee-saved register part of the frame.

Correct the omission.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180419142106.9694-1-peter.maydell@linaro.org
target/arm/helper.c