summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/i386/clone.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/clone.S')
-rw-r--r--sysdeps/unix/sysv/linux/i386/clone.S11
1 files changed, 1 insertions, 10 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/clone.S b/sysdeps/unix/sysv/linux/i386/clone.S
index c8dd2e4a37..243dbfecc9 100644
--- a/sysdeps/unix/sysv/linux/i386/clone.S
+++ b/sysdeps/unix/sysv/linux/i386/clone.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996-2014 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson (rth@tamu.edu)
@@ -74,9 +74,6 @@ ENTRY (__clone)
movl %eax,8(%ecx)
/* Don't leak any information. */
movl $0,4(%ecx)
-#ifndef RESET_PID
- movl $0,(%ecx)
-#endif
/* Do the system call */
pushl %ebx
@@ -95,10 +92,8 @@ ENTRY (__clone)
cfi_rel_offset (edi, 0)
movl $SYS_ify(clone),%eax
-#ifdef RESET_PID
/* Remember the flag value. */
movl %ebx, (%ecx)
-#endif
/* End FDE now, because in the child the unwind info will be
wrong. */
@@ -121,11 +116,9 @@ L(thread_start):
cfi_undefined (eip);
/* Note: %esi is zero. */
movl %esi,%ebp /* terminate the stack frame */
-#ifdef RESET_PID
testl $CLONE_THREAD, %edi
je L(newpid)
L(haspid):
-#endif
call *%ebx
#ifdef PIC
call L(here)
@@ -137,7 +130,6 @@ L(here):
movl $SYS_ify(exit), %eax
ENTER_KERNEL
-#ifdef RESET_PID
.subsection 2
L(newpid):
testl $CLONE_VM, %edi
@@ -150,7 +142,6 @@ L(nomoregetpid):
movl %eax, %gs:TID
jmp L(haspid)
.previous
-#endif
cfi_endproc;
cfi_startproc