Keith Packard c11d5bdae7 target/nios2: Pass semihosting arg to exit
Instead of using R_ARG0 (the semihost function number), use R_ARG1
(the provided exit status).

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20230801152245.332749-1-keithp@keithp.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2023-08-01 23:52:23 +02:00
..
2023-07-25 17:14:07 +03:00
2023-07-25 17:14:07 +03:00
2023-07-25 17:14:07 +03:00
2023-07-25 17:14:07 +03:00
2023-07-25 17:14:07 +03:00
2023-07-25 16:30:52 +01:00