aboutsummaryrefslogtreecommitdiff
path: root/system/i386/__restore_rt.S
diff options
context:
space:
mode:
Diffstat (limited to 'system/i386/__restore_rt.S')
-rw-r--r--system/i386/__restore_rt.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/i386/__restore_rt.S b/system/i386/__restore_rt.S
new file mode 100644
index 0000000..06bb240
--- /dev/null
+++ b/system/i386/__restore_rt.S
@@ -0,0 +1,9 @@
+.text
+.type __restore_rt,@function
+.global __restore_rt
+.align 8
+__restore_rt:
+ movl $__NR_rt_sigreturn,%eax
+ int $0x80
+ hlt /* die if syscall returns */
+.size __restore_rt,.-__restore_rt