linux-user/hppa: Fix setup_sigcontext()
commit2319a53758efd0a2a1b45d94d3a3b721730cbc00
authorHelge Deller <deller@gmx.de>
Sat, 24 Sep 2022 11:45:01 +0000 (24 13:45 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 27 Sep 2022 11:19:05 +0000 (27 13:19 +0200)
treeb57418f44583ecab67edfed690a7510308e2e045
parent4c184e70ad01289f89a9a780d154b00d6a86cccd
linux-user/hppa: Fix setup_sigcontext()

We don't emulate a preemptive kernel on this level, and the hppa architecture
doesn't allow context switches on the gateway page. So we always have to return
to sc_iaoq[] and not to gr[31].
This fixes the remaining random segfaults which still occured.

Signed-off-by: Helge Deller <deller@gmx.de>
Message-Id: <20220924114501.21767-8-deller@gmx.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/hppa/signal.c