summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-09-30 13:45:54 -0700
committerRichard Henderson <richard.henderson@linaro.org>2023-10-04 11:03:54 -0700
commit33bc4fa78b06fc4e5fe22e5576811a97707e0cc6 (patch)
tree2737e56e4f0a4dce1546610bbe7e98a3a11304f2
parentd7ec12f83cbb63343dd6e76392241e16a58f41e8 (diff)
downloadfocaccia-qemu-33bc4fa78b06fc4e5fe22e5576811a97707e0cc6.tar.gz
focaccia-qemu-33bc4fa78b06fc4e5fe22e5576811a97707e0cc6.zip
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é <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
-rw-r--r--linux-user/hppa/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/hppa/signal.c b/linux-user/hppa/signal.c
index bda6e54655..ec5f5412d1 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;