commit | 76eb64877b8f55b652faaca3df614f8b9cd5cdf1 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Tue Mar 23 19:11:26 2021 +0100 |
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | Thu Apr 08 15:37:29 2021 +0800 |
tree | d35e20f4c1b298dcfc0b9b1759d20188f1449e9e | |
parent | e9ead4a6b261b35f5ae9943dcda00c507ca0c7ee [diff] |
riscv: simplify longjmp The value returned by setjmp must be nonzero. If zero is passed as parameter it must be replaced by 1. This patch reduces the code size a bit. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>