Re: [PATCH v3 20/27] linux-user/ppc: Simplify encode_trampoline

2021-09-24 Thread Philippe Mathieu-Daudé
On 9/24/21 18:59, Richard Henderson wrote: The sigret parameter is never 0, and even if it was the encoding of the LI instruction would still work. Reported-by: Peter Maydell Signed-off-by: Richard Henderson --- linux-user/ppc/signal.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletion

[PATCH v3 20/27] linux-user/ppc: Simplify encode_trampoline

2021-09-24 Thread Richard Henderson
The sigret parameter is never 0, and even if it was the encoding of the LI instruction would still work. Reported-by: Peter Maydell Signed-off-by: Richard Henderson --- linux-user/ppc/signal.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/linux-user/ppc/signal.c b/li