remove PID caching
commitbddde5860ffb8a78587854cc8e3e914bd69269ca
authorWaldemar Brodkorb <wbx@openadk.org>
Sun, 22 Jan 2017 09:24:51 +0000 (22 10:24 +0100)
committerWaldemar Brodkorb <wbx@openadk.org>
Sat, 28 Jan 2017 09:31:19 +0000 (28 10:31 +0100)
treed37c90a9ca983fb8be614844343ba2941927f88a
parent30adfbeb8843c28869cc6ee33d7c556721cb241a
remove PID caching

Follow GNU C Library from c579f48edba88380635ab98cb612030e3ed8691e
and remove the PID caching. These simplifies the architecture specific
assembly code.
The run of the test suite found no regressions, it even solves
some of the test failures for x86/x86_64/sparc.

Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Vineet Gupta <Vineet.Gupta1@synopsys.com>
Acked-by: Matthew Fortune <Matthew.Fortune@imgtec.com>
Acked-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
99 files changed:
libc/sysdeps/linux/arc/clone.S
libc/sysdeps/linux/arc/vfork.S
libc/sysdeps/linux/arm/clone.S
libc/sysdeps/linux/arm/vfork.S
libc/sysdeps/linux/common/bits/kernel-features.h
libc/sysdeps/linux/i386/Makefile.arch
libc/sysdeps/linux/i386/clone.S
libc/sysdeps/linux/i386/vfork.S
libc/sysdeps/linux/ia64/clone2.S
libc/sysdeps/linux/metag/clone.S
libc/sysdeps/linux/metag/vfork.S
libc/sysdeps/linux/mips/Makefile.arch
libc/sysdeps/linux/mips/clone.S
libc/sysdeps/linux/mips/vfork.S
libc/sysdeps/linux/nds32/clone.S
libc/sysdeps/linux/nds32/vfork.S
libc/sysdeps/linux/nios2/clone.S
libc/sysdeps/linux/nios2/vfork.S
libc/sysdeps/linux/powerpc/Makefile.arch
libc/sysdeps/linux/powerpc/clone.S
libc/sysdeps/linux/sh/Makefile.arch
libc/sysdeps/linux/sh/clone.S
libc/sysdeps/linux/sparc/Makefile.arch
libc/sysdeps/linux/sparc/clone.S
libc/sysdeps/linux/sparc/vfork.S
libc/sysdeps/linux/x86_64/Makefile.arch
libc/sysdeps/linux/x86_64/clone.S
libc/sysdeps/linux/x86_64/vfork.S
libc/sysdeps/linux/xtensa/Makefile.arch
libc/sysdeps/linux/xtensa/clone.S
libc/sysdeps/linux/xtensa/vfork.S
libpthread/nptl/allocatestack.c
libpthread/nptl/descr.h
libpthread/nptl/init.c
libpthread/nptl/pthreadP.h
libpthread/nptl/pthread_cancel.c
libpthread/nptl/sysdeps/alpha/tcb-offsets.sym
libpthread/nptl/sysdeps/arc/tcb-offsets.sym
libpthread/nptl/sysdeps/arm/tcb-offsets.sym
libpthread/nptl/sysdeps/i386/tcb-offsets.sym
libpthread/nptl/sysdeps/metag/tcb-offsets.sym
libpthread/nptl/sysdeps/microblaze/tcb-offsets.sym
libpthread/nptl/sysdeps/mips/tcb-offsets.sym
libpthread/nptl/sysdeps/nds32/tcb-offsets.sym
libpthread/nptl/sysdeps/nios2/tcb-offsets.sym
libpthread/nptl/sysdeps/powerpc/tcb-offsets.sym
libpthread/nptl/sysdeps/pthread/createthread.c
libpthread/nptl/sysdeps/sh/tcb-offsets.sym
libpthread/nptl/sysdeps/sparc/tcb-offsets.sym
libpthread/nptl/sysdeps/unix/sysv/linux/alpha/clone.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/alpha/vfork.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/arc/Makefile.arch
libpthread/nptl/sysdeps/unix/sysv/linux/arc/clone.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/arc/vfork.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch
libpthread/nptl/sysdeps/unix/sysv/linux/arm/clone.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/arm/vfork.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/fork.c
libpthread/nptl/sysdeps/unix/sysv/linux/getpid.c
libpthread/nptl/sysdeps/unix/sysv/linux/i386/Makefile.arch
libpthread/nptl/sysdeps/unix/sysv/linux/i386/clone.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/i386/vfork.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/metag/Makefile.arch
libpthread/nptl/sysdeps/unix/sysv/linux/metag/clone.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/metag/vfork.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/microblaze/Makefile.arch
libpthread/nptl/sysdeps/unix/sysv/linux/microblaze/clone.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/microblaze/vfork.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/mips/Makefile.arch
libpthread/nptl/sysdeps/unix/sysv/linux/mips/clone.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/mips/pt-clone.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/mips/vfork.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/nds32/Makefile.arch
libpthread/nptl/sysdeps/unix/sysv/linux/nds32/clone.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/nds32/vfork.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/nios2/Makefile.arch
libpthread/nptl/sysdeps/unix/sysv/linux/nios2/clone.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/nios2/vfork.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/nptl-signals.h [new file with mode: 0644]
libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/Makefile.arch
libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/clone.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/vfork.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/pthread_kill.c
libpthread/nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c
libpthread/nptl/sysdeps/unix/sysv/linux/raise.c
libpthread/nptl/sysdeps/unix/sysv/linux/sh/Makefile.arch
libpthread/nptl/sysdeps/unix/sysv/linux/sh/clone.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/sh/vfork.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/sparc/Makefile.arch
libpthread/nptl/sysdeps/unix/sysv/linux/sparc/clone.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/sparc/vfork.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile.arch
libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/clone.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/xtensa/Makefile.arch
libpthread/nptl/sysdeps/unix/sysv/linux/xtensa/clone.S [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/xtensa/vfork.S [deleted file]
libpthread/nptl/sysdeps/x86_64/tcb-offsets.sym
libpthread/nptl/sysdeps/xtensa/tcb-offsets.sym