summaryrefslogtreecommitdiffstats
path: root/linux-user/alpha
diff options
context:
space:
mode:
authorRichard Henderson2021-04-23 01:02:21 +0200
committerLaurent Vivier2021-05-18 07:09:58 +0200
commit8f5141a9e10c8621c902eeb969bd188d995ecc18 (patch)
tree35db62a0cbfbb6fb210b08abb5c7f3fad8cdff80 /linux-user/alpha
parentlinux-user: use GDateTime for formatting timestamp for core file (diff)
downloadqemu-8f5141a9e10c8621c902eeb969bd188d995ecc18.tar.gz
qemu-8f5141a9e10c8621c902eeb969bd188d995ecc18.tar.xz
qemu-8f5141a9e10c8621c902eeb969bd188d995ecc18.zip
linux-user/alpha: Fix rt sigframe return
We incorrectly used the offset of the non-rt sigframe. Reviewed-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20210422230227.314751-2-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/alpha')
-rw-r--r--linux-user/alpha/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/alpha/signal.c b/linux-user/alpha/signal.c
index d4e4666874..0eec9ba3fd 100644
--- a/linux-user/alpha/signal.c
+++ b/linux-user/alpha/signal.c
@@ -200,7 +200,7 @@ void setup_rt_frame(int sig, struct target_sigaction *ka,
&frame->retcode[1]);
__put_user(INSN_CALLSYS, &frame->retcode[2]);
/* imb(); */
- r26 = frame_addr + offsetof(struct target_sigframe, retcode);
+ r26 = frame_addr + offsetof(struct target_rt_sigframe, retcode);
}
if (err) {