tcg/arm: Use r6 as TCG_AREG0 to avoid clash with Thumb framepointer
commit05b922dd0a1919c265361ca62902d6cdaea4cc36
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 26 Dec 2011 00:02:18 +0000 (26 00:02 +0000)
committerAndrzej Zaborowski <andrew.zaborowski@intel.com>
Tue, 10 Jan 2012 16:52:49 +0000 (10 17:52 +0100)
treed35b819a8d06ef357f67949f81b968e426a4bc60
parent520a02f8b844152929817b686113aed27229d3a9
tcg/arm: Use r6 as TCG_AREG0 to avoid clash with Thumb framepointer

On ARM, in Thumb mode r7 is used for the framepointer; this meant
that we would fail to compile in debug mode because we were using r7
for TCG_AREG0. Shift to r6 instead to avoid this clash.
(Bug reported as LP:870990.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
dyngen-exec.h
tcg/arm/tcg-target.h