summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/powerpc/__uClibc_syscall.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/powerpc/__uClibc_syscall.S')
-rw-r--r--libc/sysdeps/linux/powerpc/__uClibc_syscall.S14
1 files changed, 14 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/powerpc/__uClibc_syscall.S b/libc/sysdeps/linux/powerpc/__uClibc_syscall.S
new file mode 100644
index 000000000..09bfb89cc
--- /dev/null
+++ b/libc/sysdeps/linux/powerpc/__uClibc_syscall.S
@@ -0,0 +1,14 @@
+.section ".text"
+ .align 2
+.globl __uClibc_syscall
+ .type __uClibc_syscall,@function
+__uClibc_syscall:
+.Lsize:
+ sc
+ bnslr
+#ifdef __PIC__
+ b __syscall_error@plt
+#else
+ b __syscall_error
+#endif
+ .size __uClibc_syscall,.Lsize-__uClibc_syscall