diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-11-15 14:12:12 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-11-15 14:12:12 +0000 |
commit | 82a975f2f2671f0fb54ccc56d3cc621dad8b645b (patch) | |
tree | 39ad2c87c1a4da6419ddc49638f3c599882e79b4 /libc/sysdeps/linux/powerpc/__uClibc_syscall.S | |
parent | 80b0b55af2faa2e314d61d2f17fc24c9cfa94a34 (diff) |
This draws from an old patch by David Blythe for the now-dead
unified syscall interface. I reworked his old patch considerably
and cleaned up his version of bits/syscalls.h with some sneaky macro
magic. And I implemented a powerpc correct version of pread/pwrite
-Erik
Diffstat (limited to 'libc/sysdeps/linux/powerpc/__uClibc_syscall.S')
-rw-r--r-- | libc/sysdeps/linux/powerpc/__uClibc_syscall.S | 14 |
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 |