diff options
| author | Heinrich Schuchardt <[email protected]> | 2021-03-23 19:11:26 +0100 |
|---|---|---|
| committer | Leo Yu-Chi Liang <[email protected]> | 2021-04-08 15:37:29 +0800 |
| commit | a718e2aed52a135f7a6a8745a49e4f5bdff49ecf (patch) | |
| tree | d35e20f4c1b298dcfc0b9b1759d20188f1449e9e /doc/develop/package | |
| parent | ae2d9506a36ce2a31b2865c7071e3d20aa633340 (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 <[email protected]>
Reviewed-by: Sean Anderson <[email protected]>
Reviewed-by: Leo Yu-Chi Liang <[email protected]>
Diffstat (limited to 'doc/develop/package')
0 files changed, 0 insertions, 0 deletions
