2014-06-26 Roland McGrath <roland@hack.frob.com>
+ * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
+ code that was previously under [RESET_PID].
+ * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
+ * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
+ * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
+
* sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
* sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
* sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
+++ /dev/null
-/* We want an #include_next, but we are the main source file.
- So, #include ourselves and in that incarnation we can use #include_next. */
-#ifndef INCLUDED_SELF
-# define INCLUDED_SELF
-# include <clone.S>
-#else
-# define RESET_PID
-# include_next <clone.S>
-#endif
+++ /dev/null
-/* We want an #include_next, but we are the main source file.
- So, #include ourselves and in that incarnation we can use #include_next. */
-#ifndef INCLUDED_SELF
-# define INCLUDED_SELF
-# include <clone.S>
-#else
-# define RESET_PID
-# include_next <clone.S>
-#endif
PSEUDO_END (__clone)
thread_start:
-#ifdef RESET_PID
tmh %r3,1 /* CLONE_THREAD == 0x00010000 */
jne 1f
lhi %r2,-1
st %r2,PID(%r3)
st %r2,TID(%r3)
1:
-#endif
/* fn is in gpr 1, arg in gpr 0 */
lr %r2,%r0 /* set first parameter to void *arg */
ahi %r15,-96 /* make room on the stack for the save area */
PSEUDO_END (__clone)
thread_start:
-#ifdef RESET_PID
tmh %r3,1 /* CLONE_THREAD == 0x00010000 */
jne 1f
lhi %r2,-1
st %r2,PID(%r3)
st %r2,TID(%r3)
1:
-#endif
/* fn is in gpr 1, arg in gpr 0 */
lgr %r2,%r0 /* set first parameter to void *arg */
aghi %r15,-160 /* make room on the stack for the save area */