summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/signal/riscv64/restore.s
diff options
context:
space:
mode:
Diffstat (limited to 'libc-top-half/musl/src/signal/riscv64/restore.s')
-rw-r--r--libc-top-half/musl/src/signal/riscv64/restore.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/signal/riscv64/restore.s b/libc-top-half/musl/src/signal/riscv64/restore.s
new file mode 100644
index 0000000..40012c7
--- /dev/null
+++ b/libc-top-half/musl/src/signal/riscv64/restore.s
@@ -0,0 +1,8 @@
+.global __restore
+.type __restore, %function
+__restore:
+.global __restore_rt
+.type __restore_rt, %function
+__restore_rt:
+ li a7, 139 # SYS_rt_sigreturn
+ ecall