about summary refs log tree commit diff
path: root/src/signal/powerpc64/restore.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal/powerpc64/restore.s')
-rw-r--r--src/signal/powerpc64/restore.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/signal/powerpc64/restore.s b/src/signal/powerpc64/restore.s
new file mode 100644
index 00000000..4d41c27a
--- /dev/null
+++ b/src/signal/powerpc64/restore.s
@@ -0,0 +1,11 @@
+	.global __restore
+	.type __restore,%function
+__restore:
+	li      0, 119 #__NR_sigreturn
+	sc
+
+	.global __restore_rt
+	.type __restore_rt,%function
+__restore_rt:
+	li      0, 172 # __NR_rt_sigreturn
+	sc