diff options
author | Peter Galbavy <peter@cvs.openbsd.org> | 1998-07-22 10:46:59 +0000 |
---|---|---|
committer | Peter Galbavy <peter@cvs.openbsd.org> | 1998-07-22 10:46:59 +0000 |
commit | 1dfa52bc2a08fd6abce250b86ed676ed75e7f9a7 (patch) | |
tree | 552e94cccaeaddcf88e37c344c473b6fe12596fa /lib/libpthread/arch/i386 | |
parent | 55fc30f96bf26fbc4ef03930e5ba827c3304c58a (diff) |
o removed more unused or old, left over files
o general changes so that now the library compiles and many of the
tests run correctly
o pthreads/Makefile.inc rebuilt using libc/sys/Makefile.inc as a template.
this should be kept in sync in case of new syscalls
soon TODO:
figure out why remaining tests fail and fix
look at building .so version of library
tidy up arch/i386 directory - no longer uses syscall-template.S
port other arch's from libc syscall templates
Diffstat (limited to 'lib/libpthread/arch/i386')
-rw-r--r-- | lib/libpthread/arch/i386/syscall.S | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/libpthread/arch/i386/syscall.S b/lib/libpthread/arch/i386/syscall.S index cfdbbc77f73..8f2060e61e3 100644 --- a/lib/libpthread/arch/i386/syscall.S +++ b/lib/libpthread/arch/i386/syscall.S @@ -235,3 +235,14 @@ _machdep_sys_longjmp:; 1: movl %ecx,0(%esp) ret +/* ========================================================================== + * machdep_sys_pipe() + */ + .globl _machdep_sys_pipe; + +_machdep_sys_pipe:; + movl 4(%esp),%ecx + movl %eax,(%ecx) + movl %edx,4(%ecx) + xorl %eax,%eax + ret |