riscv32: add setjmp/longjmp and sigreturn
[musl.git] / src / signal / riscv32 / restore.s
blob40012c757a4fad6f60037eb030f0475be026e085
1 .global __restore
2 .type __restore, %function
3 __restore:
4 .global __restore_rt
5 .type __restore_rt, %function
6 __restore_rt:
7 li a7, 139 # SYS_rt_sigreturn
8 ecall