mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 15:00:06 +00:00
Update.
* sysdeps/unix/sysv/linux/i386/clone.S: Micro-optimization.
This commit is contained in:
parent
53ad957e4f
commit
dc88639c99
@ -1,5 +1,7 @@
|
||||
1999-01-21 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/i386/clone.S: Micro-optimization.
|
||||
|
||||
* sysdeps/unix/sysv/linux/i386/vfork.S: Add back the first
|
||||
implementation now that the syscall is back in 2.2.0.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Richard Henderson (rth@tamu.edu)
|
||||
|
||||
@ -32,11 +32,9 @@ ENTRY(__clone)
|
||||
/* Sanity check arguments. */
|
||||
movl $-EINVAL,%eax
|
||||
movl 4(%esp),%ecx /* no NULL function pointers */
|
||||
testl %ecx,%ecx
|
||||
jz SYSCALL_ERROR_LABEL
|
||||
jecxz SYSCALL_ERROR_LABEL
|
||||
movl 8(%esp),%ecx /* no NULL stack pointers */
|
||||
testl %ecx,%ecx
|
||||
jz SYSCALL_ERROR_LABEL
|
||||
jecxz SYSCALL_ERROR_LABEL
|
||||
|
||||
/* Insert the argument onto the new stack. */
|
||||
subl $8,%ecx
|
||||
|
Loading…
Reference in New Issue
Block a user