From: Richard Henderson Date: Sat, 30 Sep 2023 20:45:54 +0000 (-0700) Subject: linux-user/hppa: Fix struct target_sigcontext layout X-Git-Tag: v7.2.7~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=24d5b718847801e561aa97b1c21694b37c864676;p=thirdparty%2Fqemu.git linux-user/hppa: Fix struct target_sigcontext layout Use abi_ullong not uint64_t so that the alignment of the field and therefore the layout of the struct is correct. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson (cherry picked from commit 33bc4fa78b06fc4e5fe22e5576811a97707e0cc6) Signed-off-by: Michael Tokarev --- diff --git a/linux-user/hppa/signal.c b/linux-user/hppa/signal.c index bda6e54655a..ec5f5412d10 100644 --- a/linux-user/hppa/signal.c +++ b/linux-user/hppa/signal.c @@ -25,7 +25,7 @@ struct target_sigcontext { abi_ulong sc_flags; abi_ulong sc_gr[32]; - uint64_t sc_fr[32]; + abi_ullong sc_fr[32]; abi_ulong sc_iasq[2]; abi_ulong sc_iaoq[2]; abi_ulong sc_sar;