linux-user/s390x: Save/restore fpc when handling a signal
commit2941e0fa050314cd200f24e3b99da61440b106ab
authorIlya Leoshkevich <iii@linux.ibm.com>
Wed, 17 Aug 2022 12:39:02 +0000 (17 14:39 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 27 Sep 2022 11:19:05 +0000 (27 13:19 +0200)
treeec5c5655b586452720a0645d4d44dc5102d5101b
parent9e59899f8c75e3a7b327eb42ef61818d7f06992e
linux-user/s390x: Save/restore fpc when handling a signal

Linux kernel does this in fpregs_store() and fpregs_load(), so
qemu-user should do this as well.

Found by running valgrind's none/tests/s390x/test_sig.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220817123902.585623-1-iii@linux.ibm.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/s390x/signal.c