File:  [DVB] / dietlibc / sparc / fork.S
Revision 1.5: download - view: text, annotated - select for diffs
Thu May 15 15:17:10 2003 UTC (21 years ago) by sanjiyan
Branches: MAIN
CVS tags: HEAD
- removing "<arch>/mmap.*" where no arch-specific impementation is needed.
  (added "syscalls.s/mmap.S")

- fixing the vsyscall in the dynamic library... (self made problem)

- removing warning in "res_query.c"

- changing type of stream-mutex to recursive

- sparc/sparc64: shrink of the unified syscall and the special syscalls
  (fork/pipe) to use the "unified_syscall_error_handler"

#include <dietfeatures.h>
#include "syscalls.h"

.text
.weak fork
fork:
.global __libc_fork
__libc_fork:
	mov	__NR_fork, %g1
	ta	0x10
	bcs	__unified_syscall_error_handler
	dec	%o1
	retl
	and	%o0, %o1, %o0


LinuxTV legacy CVS <linuxtv.org/cvs>