1999-01-31  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: If the kernel
	doesn't have vfork, resort to using fork.
	* sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
This commit is contained in:
Ulrich Drepper 1999-01-30 17:38:29 +00:00
parent 3ea10b0b52
commit 28fd0f23c1
3 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,9 @@
1999-01-31 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: If the kernel
doesn't have vfork, resort to using fork.
* sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1999-01-30 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/sparc/sparc32/__longjmp.S: Include bits/setjmp.h not

View File

@ -19,7 +19,11 @@
#include <sysdep.h>
#ifdef __NR_vfork
PSEUDO (__vfork, vfork, 0)
#else
PSEUDO (__vfork, fork, 0)
#endif
sub %o1, 1, %o1
retl
and %o0, %o1, %o0

View File

@ -19,7 +19,11 @@
#include <sysdep.h>
#ifdef __NR_vfork
PSEUDO (__vfork, vfork, 0)
#else
PSEUDO (__vfork, fork, 0)
#endif
sub %o1, 1, %o1
retl
and %o0, %o1, %o0