summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/signal/powerpc/restore.s
diff options
context:
space:
mode:
Diffstat (limited to 'libc-top-half/musl/src/signal/powerpc/restore.s')
-rw-r--r--libc-top-half/musl/src/signal/powerpc/restore.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/signal/powerpc/restore.s b/libc-top-half/musl/src/signal/powerpc/restore.s
new file mode 100644
index 0000000..29c8afd
--- /dev/null
+++ b/libc-top-half/musl/src/signal/powerpc/restore.s
@@ -0,0 +1,13 @@
+ .global __restore
+ .hidden __restore
+ .type __restore,%function
+__restore:
+ li 0, 119 #__NR_sigreturn
+ sc
+
+ .global __restore_rt
+ .hidden __restore_rt
+ .type __restore_rt,%function
+__restore_rt:
+ li 0, 172 # __NR_rt_sigreturn
+ sc