aboutsummaryrefslogtreecommitdiff
path: root/linux-user/alpha
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-04-22 16:02:21 -0700
committerLaurent Vivier <laurent@vivier.eu>2021-05-18 07:09:58 +0200
commit8f5141a9e10c8621c902eeb969bd188d995ecc18 (patch)
tree35db62a0cbfbb6fb210b08abb5c7f3fad8cdff80 /linux-user/alpha
parent68af19ad72630f00d1b92635334050826e4b6f08 (diff)
downloadqemu-8f5141a9e10c8621c902eeb969bd188d995ecc18.zip
qemu-8f5141a9e10c8621c902eeb969bd188d995ecc18.tar.gz
qemu-8f5141a9e10c8621c902eeb969bd188d995ecc18.tar.bz2
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 d4e4666..0eec9ba 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) {