linux-user/ppc: Simplify encode_trampoline
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 29 Sep 2021 13:05:45 +0000 (09:05 -0400)
committerLaurent Vivier <laurent@vivier.eu>
Fri, 1 Oct 2021 10:03:48 +0000 (12:03 +0200)
commit5d2fc70f57916abc6afbe739636dffed6a5009c7
tree5415747f8ca4cbf58ac1628bee255f473eba6acf
parent9ce3ad4452539723d9204dbfc137f57124eb8e36
linux-user/ppc: Simplify encode_trampoline

The sigret parameter is never 0, and even if it was the encoding
of the LI instruction would still work.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-19-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/ppc/signal.c