linux-user/sparc: Include TARGET_STACK_BIAS in get_sp_from_cpustate
commiteb215f40c2b4cbb12e97197db5fb06bd73b8324e
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 26 Apr 2021 02:53:14 +0000 (25 19:53 -0700)
committerLaurent Vivier <laurent@vivier.eu>
Sat, 15 May 2021 19:43:23 +0000 (15 21:43 +0200)
treefbe68424363ae0879e74ec71a6ae782239065aad
parentddc3e74d9c5ac76562ce8abe9e5908c4ff7cb8f0
linux-user/sparc: Include TARGET_STACK_BIAS in get_sp_from_cpustate

Move TARGET_STACK_BIAS from signal.c.  Generic code cares about the
logical stack pointer, not the physical one that has a bias applied
for sparc64.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210426025334.1168495-6-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/sparc/signal.c
linux-user/sparc/target_cpu.h