Re: [Qemu-devel] [PATCH] linux-user: Fix MIPS16/microMIPS signal handling

2013-05-01 Thread Peter Maydell
On 30 April 2013 19:09, Kwok Cheung Yeung wrote: > Signal handlers written using a compressed MIPS instruction > set will segfault when invoked. This patch fixes this. > > Switch the ISA mode on cores supporting the MIPS16/microMIPS > ISAs according to bit 0 of the signal handler address. Clear

[Qemu-devel] [PATCH] linux-user: Fix MIPS16/microMIPS signal handling

2013-04-30 Thread Kwok Cheung Yeung
Signal handlers written using a compressed MIPS instruction set will segfault when invoked. This patch fixes this. Switch the ISA mode on cores supporting the MIPS16/microMIPS ISAs according to bit 0 of the signal handler address. Clear bit 0 of the address assigned to the PC. Signed-off-by: Kw

[Qemu-devel] [PATCH] linux-user: Fix MIPS16/microMIPS signal handling

2013-04-30 Thread Kwok Cheung Yeung
Signal handlers written using a compressed MIPS instruction set will segfault when invoked. This patch fixes this. Switch the ISA mode on cores supporting the MIPS16/microMIPS ISAs according to bit 0 of the signal handler address. Clear bit 0 of the address assigned to the PC. Signed-off-by: Kw