Re: [Qemu-devel] [PATCH] linux-user, sh4: fix signal retcode address

2015-12-19 Thread John Paul Adrian Glaubitz
Ping here as well: https://bugs.launchpad.net/qemu/+bug/1516408 Adrian On 12/18/2015 04:08 PM, Laurent Vivier wrote: > Ping ? > > Le 23/11/2015 11:38, Laurent Vivier a écrit : >> To return from a signal, setup_frame() puts an instruction to >> be executed in the stack. This sequence calls the

Re: [Qemu-devel] [PATCH] linux-user, sh4: fix signal retcode address

2015-12-18 Thread Laurent Vivier
Ping ? Le 23/11/2015 11:38, Laurent Vivier a écrit : > To return from a signal, setup_frame() puts an instruction to > be executed in the stack. This sequence calls the syscall sigreturn(). > > The address of the instruction must be set in the PR register > to be executed. > > This patch fixes

[Qemu-devel] [PATCH] linux-user,sh4: fix signal retcode address

2015-11-23 Thread Laurent Vivier
To return from a signal, setup_frame() puts an instruction to be executed in the stack. This sequence calls the syscall sigreturn(). The address of the instruction must be set in the PR register to be executed. This patch fixes this: the current code sets the register to the address of the

Re: [Qemu-devel] [PATCH] linux-user, sh4: fix signal retcode address

2015-11-23 Thread John Paul Adrian Glaubitz
On 11/23/2015 11:38 AM, Laurent Vivier wrote: > Signed-off-by: Laurent Vivier Tested-by: John Paul Adrian Glaubitz This patch fixes crashes of qemu-sh4* on amd64 for me [1]. I also haven't seen any regressions ever since. Cheers, Adrian > [1]