From cccc549ced940c85039c8ce263c8bb571f244afd Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 31 Jan 2006 05:05:15 +0000 Subject: initial import of latest linuxthreads --- libpthread/linuxthreads/.cvsignore | 3 + libpthread/linuxthreads/CVS/Entries | 105 ++ libpthread/linuxthreads/CVS/Repository | 1 + libpthread/linuxthreads/CVS/Root | 1 + libpthread/linuxthreads/Makefile | 15 + libpthread/linuxthreads/Makefile.in | 124 ++ libpthread/linuxthreads/alloca_cutoff.c | 36 + libpthread/linuxthreads/attr.c | 467 +++++++ libpthread/linuxthreads/barrier.c | 128 ++ libpthread/linuxthreads/cancel.c | 238 ++++ libpthread/linuxthreads/condvar.c | 304 +++++ libpthread/linuxthreads/descr.h | 270 ++++ libpthread/linuxthreads/errno.c | 46 + libpthread/linuxthreads/events.c | 37 + libpthread/linuxthreads/forward.c | 141 ++ libpthread/linuxthreads/internals.h | 551 ++++++++ libpthread/linuxthreads/join.c | 220 ++++ libpthread/linuxthreads/libc-cancellation.c | 64 + libpthread/linuxthreads/libc_pthread_init.c | 47 + libpthread/linuxthreads/lockfile.c | 52 + libpthread/linuxthreads/manager.c | 1123 ++++++++++++++++ libpthread/linuxthreads/mutex.c | 362 +++++ libpthread/linuxthreads/pt-machine.c | 25 + libpthread/linuxthreads/ptcleanup.c | 75 ++ libpthread/linuxthreads/ptclock_gettime.c | 69 + libpthread/linuxthreads/ptclock_settime.c | 55 + libpthread/linuxthreads/ptfork.c | 93 ++ libpthread/linuxthreads/pthandles.c | 5 + libpthread/linuxthreads/pthread.c | 1379 ++++++++++++++++++++ libpthread/linuxthreads/pthread_atfork.c | 57 + libpthread/linuxthreads/pthread_setegid.c | 27 + libpthread/linuxthreads/pthread_seteuid.c | 27 + libpthread/linuxthreads/pthread_setgid.c | 27 + libpthread/linuxthreads/pthread_setregid.c | 27 + libpthread/linuxthreads/pthread_setresgid.c | 27 + libpthread/linuxthreads/pthread_setresuid.c | 27 + libpthread/linuxthreads/pthread_setreuid.c | 27 + libpthread/linuxthreads/pthread_setuid.c | 27 + libpthread/linuxthreads/queue.h | 61 + libpthread/linuxthreads/restart.h | 49 + libpthread/linuxthreads/rwlock.c | 658 ++++++++++ libpthread/linuxthreads/semaphore.c | 298 +++++ libpthread/linuxthreads/semaphore.h | 87 ++ libpthread/linuxthreads/sighandler.c | 71 + libpthread/linuxthreads/signals.c | 215 +++ libpthread/linuxthreads/specific.c | 241 ++++ libpthread/linuxthreads/spinlock.c | 720 ++++++++++ libpthread/linuxthreads/spinlock.h | 218 ++++ libpthread/linuxthreads/sysdeps/CVS/Entries | 14 + libpthread/linuxthreads/sysdeps/CVS/Repository | 1 + libpthread/linuxthreads/sysdeps/CVS/Root | 1 + libpthread/linuxthreads/sysdeps/alpha/CVS/Entries | 4 + .../linuxthreads/sysdeps/alpha/CVS/Entries.Log | 2 + .../linuxthreads/sysdeps/alpha/CVS/Repository | 1 + libpthread/linuxthreads/sysdeps/alpha/CVS/Root | 1 + .../linuxthreads/sysdeps/alpha/elf/CVS/Entries | 2 + .../linuxthreads/sysdeps/alpha/elf/CVS/Repository | 1 + libpthread/linuxthreads/sysdeps/alpha/elf/CVS/Root | 1 + .../linuxthreads/sysdeps/alpha/elf/pt-initfini.c | 90 ++ libpthread/linuxthreads/sysdeps/alpha/pspinlock.c | 110 ++ libpthread/linuxthreads/sysdeps/alpha/pt-machine.h | 128 ++ libpthread/linuxthreads/sysdeps/alpha/tls.h | 134 ++ libpthread/linuxthreads/sysdeps/arm/CVS/Entries | 4 + libpthread/linuxthreads/sysdeps/arm/CVS/Repository | 1 + libpthread/linuxthreads/sysdeps/arm/CVS/Root | 1 + libpthread/linuxthreads/sysdeps/arm/pspinlock.c | 82 ++ libpthread/linuxthreads/sysdeps/arm/pt-machine.h | 55 + libpthread/linuxthreads/sysdeps/arm/tls.h | 172 +++ libpthread/linuxthreads/sysdeps/cris/CVS/Entries | 3 + .../linuxthreads/sysdeps/cris/CVS/Repository | 1 + libpthread/linuxthreads/sysdeps/cris/CVS/Root | 1 + libpthread/linuxthreads/sysdeps/cris/pspinlock.c | 72 + libpthread/linuxthreads/sysdeps/cris/pt-machine.h | 58 + libpthread/linuxthreads/sysdeps/hppa/CVS/Entries | 3 + .../linuxthreads/sysdeps/hppa/CVS/Repository | 1 + libpthread/linuxthreads/sysdeps/hppa/CVS/Root | 1 + libpthread/linuxthreads/sysdeps/hppa/pspinlock.c | 81 ++ libpthread/linuxthreads/sysdeps/hppa/pt-machine.h | 62 + libpthread/linuxthreads/sysdeps/i386/CVS/Entries | 8 + .../linuxthreads/sysdeps/i386/CVS/Repository | 1 + libpthread/linuxthreads/sysdeps/i386/CVS/Root | 1 + .../linuxthreads/sysdeps/i386/i586/CVS/Entries | 2 + .../linuxthreads/sysdeps/i386/i586/CVS/Repository | 1 + libpthread/linuxthreads/sysdeps/i386/i586/CVS/Root | 1 + .../linuxthreads/sysdeps/i386/i686/CVS/Entries | 3 + .../linuxthreads/sysdeps/i386/i686/CVS/Repository | 1 + libpthread/linuxthreads/sysdeps/i386/i686/CVS/Root | 1 + .../linuxthreads/sysdeps/i386/i686/pt-machine.h | 79 ++ libpthread/linuxthreads/sysdeps/i386/pspinlock.c | 103 ++ libpthread/linuxthreads/sysdeps/i386/pt-machine.h | 115 ++ .../linuxthreads/sysdeps/i386/tcb-offsets.sym | 7 + libpthread/linuxthreads/sysdeps/i386/tls.h | 229 ++++ libpthread/linuxthreads/sysdeps/i386/useldt.h | 314 +++++ libpthread/linuxthreads/sysdeps/ia64/CVS/Entries | 7 + .../linuxthreads/sysdeps/ia64/CVS/Repository | 1 + libpthread/linuxthreads/sysdeps/ia64/CVS/Root | 1 + libpthread/linuxthreads/sysdeps/ia64/pspinlock.c | 79 ++ libpthread/linuxthreads/sysdeps/ia64/pt-machine.h | 133 ++ .../linuxthreads/sysdeps/ia64/tcb-offsets.sym | 9 + libpthread/linuxthreads/sysdeps/ia64/tls.h | 145 ++ libpthread/linuxthreads/sysdeps/m68k/CVS/Entries | 3 + .../linuxthreads/sysdeps/m68k/CVS/Repository | 1 + libpthread/linuxthreads/sysdeps/m68k/CVS/Root | 1 + libpthread/linuxthreads/sysdeps/m68k/pspinlock.c | 82 ++ libpthread/linuxthreads/sysdeps/m68k/pt-machine.h | 69 + libpthread/linuxthreads/sysdeps/mips/CVS/Entries | 4 + .../linuxthreads/sysdeps/mips/CVS/Repository | 1 + libpthread/linuxthreads/sysdeps/mips/CVS/Root | 1 + libpthread/linuxthreads/sysdeps/mips/pspinlock.c | 98 ++ libpthread/linuxthreads/sysdeps/mips/pt-machine.h | 92 ++ libpthread/linuxthreads/sysdeps/mips/tls.h | 170 +++ .../linuxthreads/sysdeps/powerpc/CVS/Entries | 5 + .../linuxthreads/sysdeps/powerpc/CVS/Entries.Log | 2 + .../linuxthreads/sysdeps/powerpc/CVS/Repository | 1 + libpthread/linuxthreads/sysdeps/powerpc/CVS/Root | 1 + .../sysdeps/powerpc/powerpc32/CVS/Entries | 3 + .../sysdeps/powerpc/powerpc32/CVS/Repository | 1 + .../sysdeps/powerpc/powerpc32/CVS/Root | 1 + .../sysdeps/powerpc/powerpc32/pspinlock.c | 70 + .../sysdeps/powerpc/powerpc32/pt-machine.h | 120 ++ .../sysdeps/powerpc/powerpc64/CVS/Entries | 3 + .../sysdeps/powerpc/powerpc64/CVS/Repository | 1 + .../sysdeps/powerpc/powerpc64/CVS/Root | 1 + .../sysdeps/powerpc/powerpc64/pspinlock.c | 70 + .../sysdeps/powerpc/powerpc64/pt-machine.h | 185 +++ .../linuxthreads/sysdeps/powerpc/pspinlock.c | 8 + .../linuxthreads/sysdeps/powerpc/pt-machine.h | 8 + .../linuxthreads/sysdeps/powerpc/tcb-offsets.sym | 19 + libpthread/linuxthreads/sysdeps/powerpc/tls.h | 165 +++ libpthread/linuxthreads/sysdeps/pthread/.cvsignore | 2 + .../linuxthreads/sysdeps/pthread/CVS/Entries | 27 + .../linuxthreads/sysdeps/pthread/CVS/Entries.Log | 4 + .../linuxthreads/sysdeps/pthread/CVS/Repository | 1 + libpthread/linuxthreads/sysdeps/pthread/CVS/Root | 1 + libpthread/linuxthreads/sysdeps/pthread/Subdirs | 1 + .../linuxthreads/sysdeps/pthread/bits/CVS/Entries | 6 + .../sysdeps/pthread/bits/CVS/Repository | 1 + .../linuxthreads/sysdeps/pthread/bits/CVS/Root | 1 + .../linuxthreads/sysdeps/pthread/bits/initspin.h | 28 + .../linuxthreads/sysdeps/pthread/bits/libc-lock.h | 409 ++++++ .../linuxthreads/sysdeps/pthread/bits/libc-tsd.h | 59 + .../sysdeps/pthread/bits/pthreadtypes.h | 152 +++ .../linuxthreads/sysdeps/pthread/bits/typesizes.h | 66 + .../linuxthreads/sysdeps/pthread/errno-loc.c | 45 + .../linuxthreads/sysdeps/pthread/flockfile.c | 33 + .../linuxthreads/sysdeps/pthread/ftrylockfile.c | 33 + .../linuxthreads/sysdeps/pthread/funlockfile.c | 33 + .../linuxthreads/sysdeps/pthread/getcpuclockid.c | 117 ++ .../linuxthreads/sysdeps/pthread/herrno-loc.c | 43 + .../linuxthreads/sysdeps/pthread/kernel-features.h | 72 + libpthread/linuxthreads/sysdeps/pthread/list.h | 114 ++ .../linuxthreads/sysdeps/pthread/malloc-machine.h | 67 + .../linuxthreads/sysdeps/pthread/not-cancel.h | 62 + .../linuxthreads/sysdeps/pthread/posix-timer.h | 204 +++ .../linuxthreads/sysdeps/pthread/pt-initfini.c | 124 ++ .../sysdeps/pthread/pthread-functions.h | 95 ++ libpthread/linuxthreads/sysdeps/pthread/pthread.h | 689 ++++++++++ .../linuxthreads/sysdeps/pthread/ptlongjmp.c | 39 + .../linuxthreads/sysdeps/pthread/res-state.c | 47 + .../linuxthreads/sysdeps/pthread/semaphore.h | 1 + .../linuxthreads/sysdeps/pthread/sigaction.c | 55 + .../linuxthreads/sysdeps/pthread/tcb-offsets.h | 1 + .../linuxthreads/sysdeps/pthread/timer_create.c | 170 +++ .../linuxthreads/sysdeps/pthread/timer_delete.c | 70 + .../linuxthreads/sysdeps/pthread/timer_getoverr.c | 45 + .../linuxthreads/sysdeps/pthread/timer_gettime.c | 77 ++ .../linuxthreads/sysdeps/pthread/timer_routines.c | 573 ++++++++ .../linuxthreads/sysdeps/pthread/timer_settime.c | 137 ++ .../linuxthreads/sysdeps/pthread/tst-timer.c | 114 ++ .../linuxthreads/sysdeps/pthread/uClibc-glue.h | 50 + libpthread/linuxthreads/sysdeps/s390/CVS/Entries | 6 + .../linuxthreads/sysdeps/s390/CVS/Repository | 1 + libpthread/linuxthreads/sysdeps/s390/CVS/Root | 1 + libpthread/linuxthreads/sysdeps/s390/pspinlock.c | 91 ++ .../linuxthreads/sysdeps/s390/s390-32/CVS/Entries | 2 + .../sysdeps/s390/s390-32/CVS/Repository | 1 + .../linuxthreads/sysdeps/s390/s390-32/CVS/Root | 1 + .../linuxthreads/sysdeps/s390/s390-32/pt-machine.h | 120 ++ .../linuxthreads/sysdeps/s390/s390-64/CVS/Entries | 2 + .../sysdeps/s390/s390-64/CVS/Repository | 1 + .../linuxthreads/sysdeps/s390/s390-64/CVS/Root | 1 + .../linuxthreads/sysdeps/s390/s390-64/pt-machine.h | 125 ++ .../linuxthreads/sysdeps/s390/tcb-offsets.sym | 4 + libpthread/linuxthreads/sysdeps/s390/tls.h | 145 ++ libpthread/linuxthreads/sysdeps/sh/CVS/Entries | 6 + libpthread/linuxthreads/sysdeps/sh/CVS/Repository | 1 + libpthread/linuxthreads/sysdeps/sh/CVS/Root | 1 + libpthread/linuxthreads/sysdeps/sh/pspinlock.c | 80 ++ libpthread/linuxthreads/sysdeps/sh/pt-machine.h | 81 ++ libpthread/linuxthreads/sysdeps/sh/tcb-offsets.sym | 10 + libpthread/linuxthreads/sysdeps/sh/tls.h | 159 +++ libpthread/linuxthreads/sysdeps/sparc/CVS/Entries | 5 + .../linuxthreads/sysdeps/sparc/CVS/Repository | 1 + libpthread/linuxthreads/sysdeps/sparc/CVS/Root | 1 + libpthread/linuxthreads/sysdeps/sparc/pspinlock.c | 14 + libpthread/linuxthreads/sysdeps/sparc/pt-machine.h | 8 + .../linuxthreads/sysdeps/sparc/sparc32/CVS/Entries | 3 + .../sysdeps/sparc/sparc32/CVS/Repository | 1 + .../linuxthreads/sysdeps/sparc/sparc32/CVS/Root | 1 + .../linuxthreads/sysdeps/sparc/sparc32/pspinlock.c | 88 ++ .../sysdeps/sparc/sparc32/pt-machine.h | 83 ++ .../sysdeps/sparc/sparc32/sparcv9/CVS/Entries | 3 + .../sysdeps/sparc/sparc32/sparcv9/CVS/Repository | 1 + .../sysdeps/sparc/sparc32/sparcv9/CVS/Root | 1 + .../sysdeps/sparc/sparc32/sparcv9/pspinlock.c | 94 ++ .../linuxthreads/sysdeps/sparc/sparc64/CVS/Entries | 4 + .../sysdeps/sparc/sparc64/CVS/Repository | 1 + .../linuxthreads/sysdeps/sparc/sparc64/CVS/Root | 1 + .../linuxthreads/sysdeps/sparc/sparc64/pspinlock.c | 93 ++ .../sysdeps/sparc/sparc64/pt-machine.h | 105 ++ .../linuxthreads/sysdeps/sparc/tcb-offsets.sym | 4 + libpthread/linuxthreads/sysdeps/sparc/tls.h | 115 ++ libpthread/linuxthreads/sysdeps/unix/CVS/Entries | 1 + .../linuxthreads/sysdeps/unix/CVS/Repository | 1 + libpthread/linuxthreads/sysdeps/unix/CVS/Root | 1 + .../linuxthreads/sysdeps/unix/sysv/CVS/Entries | 1 + .../linuxthreads/sysdeps/unix/sysv/CVS/Repository | 1 + libpthread/linuxthreads/sysdeps/unix/sysv/CVS/Root | 1 + .../sysdeps/unix/sysv/linux/.cvsignore | 2 + .../sysdeps/unix/sysv/linux/CVS/Entries | 28 + .../sysdeps/unix/sysv/linux/CVS/Entries.Log | 2 + .../sysdeps/unix/sysv/linux/CVS/Repository | 1 + .../linuxthreads/sysdeps/unix/sysv/linux/CVS/Root | 1 + .../sysdeps/unix/sysv/linux/allocalim.h | 26 + .../sysdeps/unix/sysv/linux/allocrtsig.c | 87 ++ .../sysdeps/unix/sysv/linux/alpha/CVS/Entries | 7 + .../sysdeps/unix/sysv/linux/alpha/CVS/Repository | 1 + .../sysdeps/unix/sysv/linux/alpha/CVS/Root | 1 + .../sysdeps/unix/sysv/linux/alpha/aio_cancel.c | 33 + .../sysdeps/unix/sysv/linux/alpha/bits/CVS/Entries | 3 + .../unix/sysv/linux/alpha/bits/CVS/Repository | 1 + .../sysdeps/unix/sysv/linux/alpha/bits/CVS/Root | 1 + .../sysdeps/unix/sysv/linux/alpha/bits/local_lim.h | 92 ++ .../sysdeps/unix/sysv/linux/alpha/bits/typesizes.h | 66 + .../sysdeps/unix/sysv/linux/alpha/pt-sigsuspend.S | 28 + .../sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h | 146 +++ .../sysdeps/unix/sysv/linux/alpha/vfork.S | 70 + .../sysdeps/unix/sysv/linux/bits/CVS/Entries | 4 + .../sysdeps/unix/sysv/linux/bits/CVS/Repository | 1 + .../sysdeps/unix/sysv/linux/bits/CVS/Root | 1 + .../sysdeps/unix/sysv/linux/bits/local_lim.h | 92 ++ .../sysdeps/unix/sysv/linux/bits/posix_opt.h | 181 +++ .../sysdeps/unix/sysv/linux/bits/sigthread.h | 38 + .../linuxthreads/sysdeps/unix/sysv/linux/execve.c | 73 ++ .../linuxthreads/sysdeps/unix/sysv/linux/fork.c | 30 + .../linuxthreads/sysdeps/unix/sysv/linux/fork.h | 59 + .../sysdeps/unix/sysv/linux/hppa/CVS/Entries | 5 + .../sysdeps/unix/sysv/linux/hppa/CVS/Repository | 1 + .../sysdeps/unix/sysv/linux/hppa/CVS/Root | 1 + .../sysdeps/unix/sysv/linux/hppa/aio_cancel.c | 33 + .../sysdeps/unix/sysv/linux/hppa/bits/CVS/Entries | 2 + .../unix/sysv/linux/hppa/bits/CVS/Repository | 1 + .../sysdeps/unix/sysv/linux/hppa/bits/CVS/Root | 1 + .../sysdeps/unix/sysv/linux/hppa/bits/initspin.h | 27 + .../sysdeps/unix/sysv/linux/hppa/malloc-machine.h | 73 ++ .../sysdeps/unix/sysv/linux/hppa/pt-initfini.c | 109 ++ .../sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h | 189 +++ .../sysdeps/unix/sysv/linux/i386/CVS/Entries | 4 + .../sysdeps/unix/sysv/linux/i386/CVS/Entries.Log | 2 + .../sysdeps/unix/sysv/linux/i386/CVS/Repository | 1 + .../sysdeps/unix/sysv/linux/i386/CVS/Root | 1 + .../sysdeps/unix/sysv/linux/i386/sysdep-cancel.h | 188 +++ .../sysdeps/unix/sysv/linux/i386/vfork.S | 95 ++ .../sysdeps/unix/sysv/linux/ia64/CVS/Entries | 9 + .../sysdeps/unix/sysv/linux/ia64/CVS/Repository | 1 + .../sysdeps/unix/sysv/linux/ia64/CVS/Root | 1 + .../sysdeps/unix/sysv/linux/ia64/bits/CVS/Entries | 2 + .../unix/sysv/linux/ia64/bits/CVS/Repository | 1 + .../sysdeps/unix/sysv/linux/ia64/bits/CVS/Root | 1 + .../sysdeps/unix/sysv/linux/ia64/bits/local_lim.h | 92 ++ .../sysdeps/unix/sysv/linux/ia64/fork.h | 25 + .../sysdeps/unix/sysv/linux/ia64/pt-initfini.c | 142 ++ .../sysdeps/unix/sysv/linux/ia64/pt-sigsuspend.c | 33 + .../sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h | 144 ++ .../sysdeps/unix/sysv/linux/ia64/vfork.S | 54 + .../sysdeps/unix/sysv/linux/jmp-unwind.c | 34 + .../sysdeps/unix/sysv/linux/m68k/CVS/Entries | 3 + .../sysdeps/unix/sysv/linux/m68k/CVS/Repository | 1 + .../sysdeps/unix/sysv/linux/m68k/CVS/Root | 1 + .../sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h | 129 ++ .../sysdeps/unix/sysv/linux/m68k/vfork.S | 84 ++ .../sysdeps/unix/sysv/linux/mips/CVS/Entries | 4 + .../sysdeps/unix/sysv/linux/mips/CVS/Repository | 1 + .../sysdeps/unix/sysv/linux/mips/CVS/Root | 1 + .../unix/sysv/linux/mips/mips64/CVS/Entries | 2 + .../unix/sysv/linux/mips/mips64/CVS/Repository | 1 + .../sysdeps/unix/sysv/linux/mips/mips64/CVS/Root | 1 + .../unix/sysv/linux/mips/mips64/sysdep-cancel.h | 144 ++ .../sysdeps/unix/sysv/linux/mips/sysdep-cancel.h | 143 ++ .../sysdeps/unix/sysv/linux/mips/vfork.S | 104 ++ .../sysdeps/unix/sysv/linux/mq_notify.c | 287 ++++ .../sysdeps/unix/sysv/linux/powerpc/CVS/Entries | 5 + .../sysdeps/unix/sysv/linux/powerpc/CVS/Repository | 1 + .../sysdeps/unix/sysv/linux/powerpc/CVS/Root | 1 + .../unix/sysv/linux/powerpc/powerpc32/CVS/Entries | 3 + .../sysv/linux/powerpc/powerpc32/CVS/Repository | 1 + .../unix/sysv/linux/powerpc/powerpc32/CVS/Root | 1 + .../sysv/linux/powerpc/powerpc32/sysdep-cancel.h | 159 +++ .../unix/sysv/linux/powerpc/powerpc32/vfork.S | 86 ++ .../unix/sysv/linux/powerpc/powerpc64/CVS/Entries | 3 + .../sysv/linux/powerpc/powerpc64/CVS/Repository | 1 + .../unix/sysv/linux/powerpc/powerpc64/CVS/Root | 1 + .../sysv/linux/powerpc/powerpc64/sysdep-cancel.h | 127 ++ .../unix/sysv/linux/powerpc/powerpc64/vfork.S | 91 ++ .../sysdeps/unix/sysv/linux/powerpc/ptlongjmp.c | 70 + .../sysdeps/unix/sysv/linux/pt-sigsuspend.c | 34 + .../linuxthreads/sysdeps/unix/sysv/linux/raise.c | 43 + .../sysdeps/unix/sysv/linux/register-atfork.c | 87 ++ .../sysdeps/unix/sysv/linux/s390/CVS/Entries | 3 + .../sysdeps/unix/sysv/linux/s390/CVS/Repository | 1 + .../sysdeps/unix/sysv/linux/s390/CVS/Root | 1 + .../sysdeps/unix/sysv/linux/s390/bits/CVS/Entries | 2 + .../unix/sysv/linux/s390/bits/CVS/Repository | 1 + .../sysdeps/unix/sysv/linux/s390/bits/CVS/Root | 1 + .../sysdeps/unix/sysv/linux/s390/bits/typesizes.h | 72 + .../unix/sysv/linux/s390/s390-32/CVS/Entries | 4 + .../unix/sysv/linux/s390/s390-32/CVS/Repository | 1 + .../sysdeps/unix/sysv/linux/s390/s390-32/CVS/Root | 1 + .../unix/sysv/linux/s390/s390-32/pt-initfini.c | 154 +++ .../unix/sysv/linux/s390/s390-32/sysdep-cancel.h | 137 ++ .../sysdeps/unix/sysv/linux/s390/s390-32/vfork.S | 69 + .../unix/sysv/linux/s390/s390-64/CVS/Entries | 5 + .../unix/sysv/linux/s390/s390-64/CVS/Repository | 1 + .../sysdeps/unix/sysv/linux/s390/s390-64/CVS/Root | 1 + .../unix/sysv/linux/s390/s390-64/pt-initfini.c | 137 ++ .../unix/sysv/linux/s390/s390-64/pt-sigsuspend.c | 1 + .../unix/sysv/linux/s390/s390-64/sysdep-cancel.h | 116 ++ .../sysdeps/unix/sysv/linux/s390/s390-64/vfork.S | 54 + .../sysdeps/unix/sysv/linux/sh/CVS/Entries | 5 + .../sysdeps/unix/sysv/linux/sh/CVS/Repository | 1 + .../sysdeps/unix/sysv/linux/sh/CVS/Root | 1 + .../sysdeps/unix/sysv/linux/sh/pt-initfini.c | 143 ++ .../linuxthreads/sysdeps/unix/sysv/linux/sh/smp.h | 24 + .../sysdeps/unix/sysv/linux/sh/sysdep-cancel.h | 227 ++++ .../sysdeps/unix/sysv/linux/sh/vfork.S | 77 ++ .../linuxthreads/sysdeps/unix/sysv/linux/sigwait.c | 88 ++ .../linuxthreads/sysdeps/unix/sysv/linux/smp.h | 48 + .../sysdeps/unix/sysv/linux/sparc/CVS/Entries | 6 + .../sysdeps/unix/sysv/linux/sparc/CVS/Repository | 1 + .../sysdeps/unix/sysv/linux/sparc/CVS/Root | 1 + .../sysdeps/unix/sysv/linux/sparc/aio_cancel.c | 33 + .../sysdeps/unix/sysv/linux/sparc/bits/CVS/Entries | 3 + .../unix/sysv/linux/sparc/bits/CVS/Repository | 1 + .../sysdeps/unix/sysv/linux/sparc/bits/CVS/Root | 1 + .../sysdeps/unix/sysv/linux/sparc/bits/local_lim.h | 92 ++ .../sysdeps/unix/sysv/linux/sparc/bits/typesizes.h | 66 + .../sysdeps/unix/sysv/linux/sparc/fork.h | 34 + .../unix/sysv/linux/sparc/sparc32/CVS/Entries | 3 + .../unix/sysv/linux/sparc/sparc32/CVS/Repository | 1 + .../sysdeps/unix/sysv/linux/sparc/sparc32/CVS/Root | 1 + .../unix/sysv/linux/sparc/sparc32/sysdep-cancel.h | 102 ++ .../sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S | 65 + .../unix/sysv/linux/sparc/sparc64/CVS/Entries | 5 + .../unix/sysv/linux/sparc/sparc64/CVS/Repository | 1 + .../sysdeps/unix/sysv/linux/sparc/sparc64/CVS/Root | 1 + .../unix/sysv/linux/sparc/sparc64/pt-sigsuspend.c | 1 + .../unix/sysv/linux/sparc/sparc64/sysdep-cancel.h | 101 ++ .../sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S | 64 + .../sysdeps/unix/sysv/linux/unregister-atfork.c | 49 + .../sysdeps/unix/sysv/linux/x86_64/CVS/Entries | 5 + .../sysdeps/unix/sysv/linux/x86_64/CVS/Entries.Log | 2 + .../sysdeps/unix/sysv/linux/x86_64/CVS/Repository | 1 + .../sysdeps/unix/sysv/linux/x86_64/CVS/Root | 1 + .../sysdeps/unix/sysv/linux/x86_64/pt-sigsuspend.c | 1 + .../sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h | 132 ++ .../sysdeps/unix/sysv/linux/x86_64/vfork.S | 62 + libpthread/linuxthreads/sysdeps/x86_64/CVS/Entries | 7 + .../linuxthreads/sysdeps/x86_64/CVS/Repository | 1 + libpthread/linuxthreads/sysdeps/x86_64/CVS/Root | 1 + libpthread/linuxthreads/sysdeps/x86_64/pspinlock.c | 97 ++ .../linuxthreads/sysdeps/x86_64/pt-machine.h | 225 ++++ .../linuxthreads/sysdeps/x86_64/tcb-offsets.sym | 4 + libpthread/linuxthreads/sysdeps/x86_64/tls.h | 134 ++ 373 files changed, 24430 insertions(+) create mode 100644 libpthread/linuxthreads/.cvsignore create mode 100644 libpthread/linuxthreads/CVS/Entries create mode 100644 libpthread/linuxthreads/CVS/Repository create mode 100644 libpthread/linuxthreads/CVS/Root create mode 100644 libpthread/linuxthreads/Makefile create mode 100644 libpthread/linuxthreads/Makefile.in create mode 100644 libpthread/linuxthreads/alloca_cutoff.c create mode 100644 libpthread/linuxthreads/attr.c create mode 100644 libpthread/linuxthreads/barrier.c create mode 100644 libpthread/linuxthreads/cancel.c create mode 100644 libpthread/linuxthreads/condvar.c create mode 100644 libpthread/linuxthreads/descr.h create mode 100644 libpthread/linuxthreads/errno.c create mode 100644 libpthread/linuxthreads/events.c create mode 100644 libpthread/linuxthreads/forward.c create mode 100644 libpthread/linuxthreads/internals.h create mode 100644 libpthread/linuxthreads/join.c create mode 100644 libpthread/linuxthreads/libc-cancellation.c create mode 100644 libpthread/linuxthreads/libc_pthread_init.c create mode 100644 libpthread/linuxthreads/lockfile.c create mode 100644 libpthread/linuxthreads/manager.c create mode 100644 libpthread/linuxthreads/mutex.c create mode 100644 libpthread/linuxthreads/pt-machine.c create mode 100644 libpthread/linuxthreads/ptcleanup.c create mode 100644 libpthread/linuxthreads/ptclock_gettime.c create mode 100644 libpthread/linuxthreads/ptclock_settime.c create mode 100644 libpthread/linuxthreads/ptfork.c create mode 100644 libpthread/linuxthreads/pthandles.c create mode 100644 libpthread/linuxthreads/pthread.c create mode 100644 libpthread/linuxthreads/pthread_atfork.c create mode 100644 libpthread/linuxthreads/pthread_setegid.c create mode 100644 libpthread/linuxthreads/pthread_seteuid.c create mode 100644 libpthread/linuxthreads/pthread_setgid.c create mode 100644 libpthread/linuxthreads/pthread_setregid.c create mode 100644 libpthread/linuxthreads/pthread_setresgid.c create mode 100644 libpthread/linuxthreads/pthread_setresuid.c create mode 100644 libpthread/linuxthreads/pthread_setreuid.c create mode 100644 libpthread/linuxthreads/pthread_setuid.c create mode 100644 libpthread/linuxthreads/queue.h create mode 100644 libpthread/linuxthreads/restart.h create mode 100644 libpthread/linuxthreads/rwlock.c create mode 100644 libpthread/linuxthreads/semaphore.c create mode 100644 libpthread/linuxthreads/semaphore.h create mode 100644 libpthread/linuxthreads/sighandler.c create mode 100644 libpthread/linuxthreads/signals.c create mode 100644 libpthread/linuxthreads/specific.c create mode 100644 libpthread/linuxthreads/spinlock.c create mode 100644 libpthread/linuxthreads/spinlock.h create mode 100644 libpthread/linuxthreads/sysdeps/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/alpha/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/alpha/CVS/Entries.Log create mode 100644 libpthread/linuxthreads/sysdeps/alpha/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/alpha/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/alpha/elf/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/alpha/elf/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/alpha/elf/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/alpha/elf/pt-initfini.c create mode 100644 libpthread/linuxthreads/sysdeps/alpha/pspinlock.c create mode 100644 libpthread/linuxthreads/sysdeps/alpha/pt-machine.h create mode 100644 libpthread/linuxthreads/sysdeps/alpha/tls.h create mode 100644 libpthread/linuxthreads/sysdeps/arm/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/arm/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/arm/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/arm/pspinlock.c create mode 100644 libpthread/linuxthreads/sysdeps/arm/pt-machine.h create mode 100644 libpthread/linuxthreads/sysdeps/arm/tls.h create mode 100644 libpthread/linuxthreads/sysdeps/cris/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/cris/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/cris/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/cris/pspinlock.c create mode 100644 libpthread/linuxthreads/sysdeps/cris/pt-machine.h create mode 100644 libpthread/linuxthreads/sysdeps/hppa/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/hppa/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/hppa/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/hppa/pspinlock.c create mode 100644 libpthread/linuxthreads/sysdeps/hppa/pt-machine.h create mode 100644 libpthread/linuxthreads/sysdeps/i386/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/i386/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/i386/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/i386/i586/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/i386/i586/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/i386/i586/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/i386/i686/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/i386/i686/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/i386/i686/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/i386/i686/pt-machine.h create mode 100644 libpthread/linuxthreads/sysdeps/i386/pspinlock.c create mode 100644 libpthread/linuxthreads/sysdeps/i386/pt-machine.h create mode 100644 libpthread/linuxthreads/sysdeps/i386/tcb-offsets.sym create mode 100644 libpthread/linuxthreads/sysdeps/i386/tls.h create mode 100644 libpthread/linuxthreads/sysdeps/i386/useldt.h create mode 100644 libpthread/linuxthreads/sysdeps/ia64/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/ia64/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/ia64/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/ia64/pspinlock.c create mode 100644 libpthread/linuxthreads/sysdeps/ia64/pt-machine.h create mode 100644 libpthread/linuxthreads/sysdeps/ia64/tcb-offsets.sym create mode 100644 libpthread/linuxthreads/sysdeps/ia64/tls.h create mode 100644 libpthread/linuxthreads/sysdeps/m68k/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/m68k/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/m68k/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/m68k/pspinlock.c create mode 100644 libpthread/linuxthreads/sysdeps/m68k/pt-machine.h create mode 100644 libpthread/linuxthreads/sysdeps/mips/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/mips/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/mips/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/mips/pspinlock.c create mode 100644 libpthread/linuxthreads/sysdeps/mips/pt-machine.h create mode 100644 libpthread/linuxthreads/sysdeps/mips/tls.h create mode 100644 libpthread/linuxthreads/sysdeps/powerpc/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/powerpc/CVS/Entries.Log create mode 100644 libpthread/linuxthreads/sysdeps/powerpc/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/powerpc/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/powerpc/powerpc32/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/powerpc/powerpc32/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/powerpc/powerpc32/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/powerpc/powerpc32/pspinlock.c create mode 100644 libpthread/linuxthreads/sysdeps/powerpc/powerpc32/pt-machine.h create mode 100644 libpthread/linuxthreads/sysdeps/powerpc/powerpc64/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/powerpc/powerpc64/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/powerpc/powerpc64/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/powerpc/powerpc64/pspinlock.c create mode 100644 libpthread/linuxthreads/sysdeps/powerpc/powerpc64/pt-machine.h create mode 100644 libpthread/linuxthreads/sysdeps/powerpc/pspinlock.c create mode 100644 libpthread/linuxthreads/sysdeps/powerpc/pt-machine.h create mode 100644 libpthread/linuxthreads/sysdeps/powerpc/tcb-offsets.sym create mode 100644 libpthread/linuxthreads/sysdeps/powerpc/tls.h create mode 100644 libpthread/linuxthreads/sysdeps/pthread/.cvsignore create mode 100644 libpthread/linuxthreads/sysdeps/pthread/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/pthread/CVS/Entries.Log create mode 100644 libpthread/linuxthreads/sysdeps/pthread/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/pthread/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/pthread/Subdirs create mode 100644 libpthread/linuxthreads/sysdeps/pthread/bits/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/pthread/bits/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/pthread/bits/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/pthread/bits/initspin.h create mode 100644 libpthread/linuxthreads/sysdeps/pthread/bits/libc-lock.h create mode 100644 libpthread/linuxthreads/sysdeps/pthread/bits/libc-tsd.h create mode 100644 libpthread/linuxthreads/sysdeps/pthread/bits/pthreadtypes.h create mode 100644 libpthread/linuxthreads/sysdeps/pthread/bits/typesizes.h create mode 100644 libpthread/linuxthreads/sysdeps/pthread/errno-loc.c create mode 100644 libpthread/linuxthreads/sysdeps/pthread/flockfile.c create mode 100644 libpthread/linuxthreads/sysdeps/pthread/ftrylockfile.c create mode 100644 libpthread/linuxthreads/sysdeps/pthread/funlockfile.c create mode 100644 libpthread/linuxthreads/sysdeps/pthread/getcpuclockid.c create mode 100644 libpthread/linuxthreads/sysdeps/pthread/herrno-loc.c create mode 100644 libpthread/linuxthreads/sysdeps/pthread/kernel-features.h create mode 100644 libpthread/linuxthreads/sysdeps/pthread/list.h create mode 100644 libpthread/linuxthreads/sysdeps/pthread/malloc-machine.h create mode 100644 libpthread/linuxthreads/sysdeps/pthread/not-cancel.h create mode 100644 libpthread/linuxthreads/sysdeps/pthread/posix-timer.h create mode 100644 libpthread/linuxthreads/sysdeps/pthread/pt-initfini.c create mode 100644 libpthread/linuxthreads/sysdeps/pthread/pthread-functions.h create mode 100644 libpthread/linuxthreads/sysdeps/pthread/pthread.h create mode 100644 libpthread/linuxthreads/sysdeps/pthread/ptlongjmp.c create mode 100644 libpthread/linuxthreads/sysdeps/pthread/res-state.c create mode 100644 libpthread/linuxthreads/sysdeps/pthread/semaphore.h create mode 100644 libpthread/linuxthreads/sysdeps/pthread/sigaction.c create mode 100644 libpthread/linuxthreads/sysdeps/pthread/tcb-offsets.h create mode 100644 libpthread/linuxthreads/sysdeps/pthread/timer_create.c create mode 100644 libpthread/linuxthreads/sysdeps/pthread/timer_delete.c create mode 100644 libpthread/linuxthreads/sysdeps/pthread/timer_getoverr.c create mode 100644 libpthread/linuxthreads/sysdeps/pthread/timer_gettime.c create mode 100644 libpthread/linuxthreads/sysdeps/pthread/timer_routines.c create mode 100644 libpthread/linuxthreads/sysdeps/pthread/timer_settime.c create mode 100644 libpthread/linuxthreads/sysdeps/pthread/tst-timer.c create mode 100644 libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h create mode 100644 libpthread/linuxthreads/sysdeps/s390/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/s390/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/s390/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/s390/pspinlock.c create mode 100644 libpthread/linuxthreads/sysdeps/s390/s390-32/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/s390/s390-32/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/s390/s390-32/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/s390/s390-32/pt-machine.h create mode 100644 libpthread/linuxthreads/sysdeps/s390/s390-64/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/s390/s390-64/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/s390/s390-64/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/s390/s390-64/pt-machine.h create mode 100644 libpthread/linuxthreads/sysdeps/s390/tcb-offsets.sym create mode 100644 libpthread/linuxthreads/sysdeps/s390/tls.h create mode 100644 libpthread/linuxthreads/sysdeps/sh/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/sh/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/sh/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/sh/pspinlock.c create mode 100644 libpthread/linuxthreads/sysdeps/sh/pt-machine.h create mode 100644 libpthread/linuxthreads/sysdeps/sh/tcb-offsets.sym create mode 100644 libpthread/linuxthreads/sysdeps/sh/tls.h create mode 100644 libpthread/linuxthreads/sysdeps/sparc/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/sparc/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/sparc/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/sparc/pspinlock.c create mode 100644 libpthread/linuxthreads/sysdeps/sparc/pt-machine.h create mode 100644 libpthread/linuxthreads/sysdeps/sparc/sparc32/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/sparc/sparc32/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/sparc/sparc32/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/sparc/sparc32/pspinlock.c create mode 100644 libpthread/linuxthreads/sysdeps/sparc/sparc32/pt-machine.h create mode 100644 libpthread/linuxthreads/sysdeps/sparc/sparc32/sparcv9/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/sparc/sparc32/sparcv9/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/sparc/sparc32/sparcv9/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/sparc/sparc32/sparcv9/pspinlock.c create mode 100644 libpthread/linuxthreads/sysdeps/sparc/sparc64/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/sparc/sparc64/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/sparc/sparc64/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/sparc/sparc64/pspinlock.c create mode 100644 libpthread/linuxthreads/sysdeps/sparc/sparc64/pt-machine.h create mode 100644 libpthread/linuxthreads/sysdeps/sparc/tcb-offsets.sym create mode 100644 libpthread/linuxthreads/sysdeps/sparc/tls.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/.cvsignore create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/CVS/Entries.Log create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/allocalim.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/allocrtsig.c create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/alpha/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/alpha/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/alpha/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/alpha/aio_cancel.c create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/alpha/bits/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/alpha/bits/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/alpha/bits/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/alpha/bits/local_lim.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/alpha/bits/typesizes.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/alpha/pt-sigsuspend.S create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/alpha/vfork.S create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/bits/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/bits/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/bits/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/execve.c create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/fork.c create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/fork.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/hppa/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/hppa/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/hppa/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/hppa/aio_cancel.c create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/hppa/bits/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/hppa/bits/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/hppa/bits/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/hppa/bits/initspin.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/hppa/malloc-machine.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/hppa/pt-initfini.c create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/i386/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/i386/CVS/Entries.Log create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/i386/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/i386/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/i386/vfork.S create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/ia64/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/ia64/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/ia64/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/ia64/bits/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/ia64/bits/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/ia64/bits/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/ia64/bits/local_lim.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/ia64/fork.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/ia64/pt-initfini.c create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/ia64/pt-sigsuspend.c create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/ia64/vfork.S create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/jmp-unwind.c create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/m68k/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/m68k/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/m68k/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/m68k/vfork.S create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/mips64/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/mips64/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/mips64/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/sysdep-cancel.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/vfork.S create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/powerpc/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/powerpc/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/powerpc/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/powerpc/ptlongjmp.c create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/pt-sigsuspend.c create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/raise.c create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/register-atfork.c create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/s390/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/s390/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/s390/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/s390/bits/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/s390/bits/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/s390/bits/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/s390/bits/typesizes.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/s390/s390-32/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/s390/s390-32/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/s390/s390-32/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/s390/s390-32/pt-initfini.c create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/s390/s390-64/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/s390/s390-64/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/s390/s390-64/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/s390/s390-64/pt-initfini.c create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/s390/s390-64/pt-sigsuspend.c create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sh/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sh/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sh/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sh/pt-initfini.c create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sh/smp.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sh/vfork.S create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sigwait.c create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/smp.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/aio_cancel.c create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/bits/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/bits/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/bits/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/bits/typesizes.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/fork.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc32/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc32/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc32/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/pt-sigsuspend.c create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/unregister-atfork.c create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/x86_64/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/x86_64/CVS/Entries.Log create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/x86_64/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/x86_64/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/x86_64/pt-sigsuspend.c create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h create mode 100644 libpthread/linuxthreads/sysdeps/unix/sysv/linux/x86_64/vfork.S create mode 100644 libpthread/linuxthreads/sysdeps/x86_64/CVS/Entries create mode 100644 libpthread/linuxthreads/sysdeps/x86_64/CVS/Repository create mode 100644 libpthread/linuxthreads/sysdeps/x86_64/CVS/Root create mode 100644 libpthread/linuxthreads/sysdeps/x86_64/pspinlock.c create mode 100644 libpthread/linuxthreads/sysdeps/x86_64/pt-machine.h create mode 100644 libpthread/linuxthreads/sysdeps/x86_64/tcb-offsets.sym create mode 100644 libpthread/linuxthreads/sysdeps/x86_64/tls.h (limited to 'libpthread') diff --git a/libpthread/linuxthreads/.cvsignore b/libpthread/linuxthreads/.cvsignore new file mode 100644 index 000000000..688daf411 --- /dev/null +++ b/libpthread/linuxthreads/.cvsignore @@ -0,0 +1,3 @@ +.cvsignore +*.os +Makefile.in diff --git a/libpthread/linuxthreads/CVS/Entries b/libpthread/linuxthreads/CVS/Entries new file mode 100644 index 000000000..089b29bc8 --- /dev/null +++ b/libpthread/linuxthreads/CVS/Entries @@ -0,0 +1,105 @@ +/internals.h/1.94/Sun Dec 12 21:05:54 2004// +/lockfile.c/1.10/Wed Dec 18 01:16:46 2002// +/pthread.c/1.136/Sun Jan 9 20:02:37 2005// +D/Examples//// +D/man//// +D/sysdeps//// +/Makefile/1.99/Mon Nov 7 16:58:12 2005// +/descr.h/1.16/Mon Nov 14 19:51:28 2005// +/Banner/1.4/Tue Nov 15 14:20:47 2005// +/Changes/1.2/Tue Nov 15 14:20:47 2005// +/FAQ.html/1.3/Tue Nov 15 14:20:48 2005// +/LICENSE/1.1/Tue Nov 15 14:20:47 2005// +/README/1.2/Tue Nov 15 14:20:48 2005// +/README.Xfree3.2/1.1/Tue Nov 15 14:20:48 2005// +/Versions/1.49/Tue Nov 15 14:20:47 2005// +/attr.c/1.36/Tue Nov 15 14:20:47 2005// +/barrier.c/1.4/Tue Nov 15 14:20:48 2005// +/bug-sleep.c/-1.1/Tue Nov 15 14:20:47 2005// +/cancel.c/1.23/Tue Nov 15 14:20:47 2005// +/condvar.c/1.32/Tue Nov 15 14:20:47 2005// +/configure/1.3/Tue Nov 15 14:20:47 2005// +/configure.in/1.1/Tue Nov 15 14:20:48 2005// +/ecmutex.c/-1.3/Tue Nov 15 16:18:58 2005// +/errno.c/1.7/Tue Nov 15 14:20:48 2005// +/events.c/1.3/Tue Nov 15 14:20:48 2005// +/join.c/1.20/Tue Nov 15 14:20:47 2005// +/joinrace.c/-1.2/Tue Nov 15 14:20:48 2005// +/libc-tls-loc.c/-1.2/Tue Nov 15 14:20:48 2005// +/libc-tsd.c/-1.2/Tue Nov 15 14:20:47 2005// +/libc_pthread_init.c/1.3/Tue Nov 15 16:03:12 2005// +/linuxthreads.texi/1.15/Tue Nov 15 14:20:48 2005// +/manager.c/1.98/Tue Nov 15 16:02:59 2005// +/mutex.c/1.27/Tue Nov 15 14:20:48 2005// +/old_pthread_atfork.c/-1.1/Tue Nov 15 14:20:47 2005// +/oldsemaphore.c/-1.12/Tue Nov 15 14:20:48 2005// +/pt-machine.c/1.3/Tue Nov 15 14:20:47 2005// +/pt-system.c/-1.3/Tue Nov 15 16:18:58 2005// +/ptclock_gettime.c/1.3/Tue Nov 15 14:20:48 2005// +/ptclock_settime.c/1.3/Tue Nov 15 14:20:47 2005// +/pthandles.c/1.1/Tue Nov 15 14:20:47 2005// +/pthread_atfork.c/1.2/Tue Nov 15 14:20:47 2005// +/pthread_setegid.c/1.1/Tue Nov 15 14:20:47 2005// +/pthread_seteuid.c/1.1/Tue Nov 15 14:20:47 2005// +/pthread_setgid.c/1.1/Tue Nov 15 14:20:48 2005// +/pthread_setregid.c/1.1/Tue Nov 15 14:20:47 2005// +/pthread_setresgid.c/1.1/Tue Nov 15 14:20:48 2005// +/pthread_setresuid.c/1.1/Tue Nov 15 14:20:48 2005// +/pthread_setreuid.c/1.1/Tue Nov 15 14:20:47 2005// +/pthread_setuid.c/1.1/Tue Nov 15 14:20:48 2005// +/queue.h/1.4/Tue Nov 15 14:20:47 2005// +/restart.h/1.6/Tue Nov 15 14:20:47 2005// +/rwlock.c/1.20/Tue Nov 15 14:20:48 2005// +/semaphore.c/1.20/Tue Nov 15 14:20:47 2005// +/semaphore.h/1.13/Tue Nov 15 14:20:48 2005// +/shlib-versions/1.10/Tue Nov 15 14:20:47 2005// +/sighandler.c/1.2/Tue Nov 15 14:20:47 2005// +/signals.c/1.29/Tue Nov 15 14:20:47 2005// +/spinlock.c/1.38/Tue Nov 15 14:20:47 2005// +/spinlock.h/1.24/Tue Nov 15 14:20:48 2005// +/tst-_res1.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-_res1mod1.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-_res1mod2.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-align.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-attr1.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-cancel-static.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-cancel-wrappers.sh/-1.8/Tue Nov 15 16:18:58 2005// +/tst-cancel.c/-1.9/Tue Nov 15 16:18:58 2005// +/tst-cancel1.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-cancel2.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-cancel3.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-cancel4.c/-1.3/Tue Nov 15 16:18:58 2005// +/tst-cancel5.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-cancel6.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-cancel7.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-cancel8.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-clock1.c/-1.2/Tue Nov 15 16:18:58 2005// +/tst-context.c/-1.6/Tue Nov 15 16:18:58 2005// +/tst-popen.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-popen2.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-signal.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-signal.sh/-1.1/Tue Nov 15 16:18:58 2005// +/tst-stack1.c/-1.2/Tue Nov 15 16:18:58 2005// +/tst-static-locale.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-tls1.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-tls1.h/-1.1/Tue Nov 15 16:18:58 2005// +/tst-tls1mod.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-tls1moda.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-tls1modb.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-tls1modc.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-tls1modd.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-tls1mode.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-tls1modf.c/-1.1/Tue Nov 15 16:18:58 2005// +/tst-tls2.sh/-1.1/Tue Nov 15 16:18:58 2005// +/tst-tsd1.c/-1.1/Tue Nov 15 16:18:58 2005// +/tststack.c/-1.4/Tue Nov 15 16:18:58 2005// +/unload.c/-1.3/dummy timestamp// +/pt-allocrtsig.c/-1.1/Tue Nov 15 19:09:25 2005// +/ptfork.c/1.11/Tue Nov 15 18:19:48 2005// +/forward.c/1.6/Tue Sep 23 04:31:36 2003// +/specific.c/1.21/Thu Dec 29 06:16:36 2005// +/ChangeLog/1.861/Fri Jan 20 14:26:17 2006// +/ptcleanup.c/1.3/Fri Jan 20 14:54:46 2006// +/libc-cancellation.c/1.6/Fri Jan 20 15:05:11 2006// +/alloca_cutoff.c/1.2/Tue Apr 1 00:52:40 2003// +/Makeconfig/1.3/Tue Jan 31 04:59:21 2006// diff --git a/libpthread/linuxthreads/CVS/Repository b/libpthread/linuxthreads/CVS/Repository new file mode 100644 index 000000000..186bbabea --- /dev/null +++ b/libpthread/linuxthreads/CVS/Repository @@ -0,0 +1 @@ +ports/linuxthreads diff --git a/libpthread/linuxthreads/CVS/Root b/libpthread/linuxthreads/CVS/Root new file mode 100644 index 000000000..ca45c5d4d --- /dev/null +++ b/libpthread/linuxthreads/CVS/Root @@ -0,0 +1 @@ +:pserver:anoncvs@sources.redhat.com:/cvs/glibc diff --git a/libpthread/linuxthreads/Makefile b/libpthread/linuxthreads/Makefile new file mode 100644 index 000000000..f92f205a5 --- /dev/null +++ b/libpthread/linuxthreads/Makefile @@ -0,0 +1,15 @@ +# Makefile for uClibc +# +# Copyright (C) 2000-2005 Erik Andersen +# +# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. +# + +TOPDIR=../../ + +top_srcdir=$(TOPDIR) +top_builddir=../../ +include $(top_builddir)Rules.mak +all: libs +include Makefile.in +include $(top_srcdir)Makerules diff --git a/libpthread/linuxthreads/Makefile.in b/libpthread/linuxthreads/Makefile.in new file mode 100644 index 000000000..94926a3af --- /dev/null +++ b/libpthread/linuxthreads/Makefile.in @@ -0,0 +1,124 @@ +# Makefile for uClibc +# +# Copyright (C) 2003 Paul Mundt +# Copyright (C) 2000-2005 Erik Andersen +# +# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. +# + +CFLAGS-linuxthreads := -DNOT_IN_libc $(SSP_ALL_CFLAGS) +CFLAGS-linuxthreads += -DIS_IN_linuxthreads=1 -D_GNU_SOURCE + +CFLAGS-libpthread/linuxthreads/sysdeps/$(TARGET_ARCH)/ := $(CFLAGS-linuxthreads) +CFLAGS-libpthread/linuxthreads/sysdeps/unix/sysv/linux/ := $(CFLAGS-linuxthreads) +CFLAGS-libpthread/linuxthreads/sysdeps/pthread/ := $(CFLAGS-linuxthreads) + +# This stuff will not compile without at least -O1 +# psm: can't handle this here, could maybe search for -O0 in CFLAGS +# and append -O1 if found +#CFLAGS:=$(CFLAGS:-O0=-O1) + +ifeq ($(PTHREADS_DEBUG_SUPPORT),y) +LDFLAGS-libpthread.so := $(LDFLAGS_NOSTRIP) -z defs +else +LDFLAGS-libpthread.so := $(LDFLAGS) +endif + +LIBS-libpthread.so := $(LIBS) $(ldso) + +START_FILE-libpthread.so := $(SHARED_START_FILES) +END_FILE-libpthread.so := $(SHARED_END_FILES) + +libpthread_FULL_NAME := libpthread-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so + +libpthread_DIR := $(top_srcdir)libpthread/linuxthreads +libpthread_OUT := $(top_builddir)libpthread/linuxthreads + +-include $(libpthread_DIR)/sysdeps/$(TARGET_ARCH)/Makefile.arch + +pthread_arch_SRC := pspinlock +pthread_arch_SRC := $(patsubst %,$(libpthread_DIR)/sysdeps/$(TARGET_ARCH)/%.c,$(pthread_arch_SRC)) +pthread_linux_SRC := fork pt-sigsuspend register-atfork unregister-atfork +pthread_linux_SRC := $(patsubst %,$(libpthread_DIR)/sysdeps/unix/sysv/linux/%.c,$(pthread_linux_SRC)) +pthread_sysdep_SRC := errno-loc herrno-loc ptlongjmp +pthread_sysdep_SRC := $(patsubst %,$(libpthread_DIR)/sysdeps/pthread/%.c,$(pthread_sysdep_SRC)) +pthread_SRC := \ + attr barrier cancel condvar errno events join pthread \ + lockfile manager mutex pt-machine ptcleanup \ + ptclock_gettime ptclock_settime ptfork pthandles pthread_atfork \ + pthread_setegid pthread_seteuid pthread_setgid pthread_setregid \ + pthread_setresgid pthread_setresuid pthread_setreuid pthread_setuid \ + rwlock semaphore sighandler signals specific spinlock +pthread_SRC := $(patsubst %,$(libpthread_DIR)/%.c,$(pthread_SRC)) + +libpthread_static_SRC := pt-allocrtsig +libpthread_shared_SRC := pthread_atfork +libpthread_SRC := $(pthread_arch_SRC) $(pthread_linux_SRC) $(pthread_sysdep_SRC) $(pthread_SRC) +libpthread_OBJ := $(patsubst $(libpthread_DIR)/%.c,$(libpthread_OUT)/%.o,$(libpthread_SRC)) + +# +# Stuff that goes into libc.so, not libpthread.so +# +#CFLAGS-alloca_cutoff.c := -DIS_IN_libc +CFLAGS-forward.c := -DIS_IN_libc +CFLAGS-libc-cancellation.c := -DIS_IN_libc +CFLAGS-libc_pthread_init.c := -DIS_IN_libc +libpthread_libc_CSRC := \ + forward.c libc-cancellation.c libc_pthread_init.c # alloca_cutoff.c +libpthread_libc_OBJ := $(patsubst %.c, $(libpthread_OUT)/%.o,$(libpthread_libc_CSRC)) +libc-static-y += $(libpthread_OUT)/libc_pthread_init.o +libc-shared-y += $(libpthread_libc_OBJ:.o=.oS) + +libpthread-static-y += $(patsubst %.c,$(libpthread_OUT)/%.o,$(libpthread_SPEC_SRC)) +libpthread-shared-y += $(patsubst %.c,$(libpthread_OUT)/%.oS,$(libpthread_SPEC_SRC)) + +ifeq ($(DOPIC),y) +libpthread-a-y += $(libpthread_OBJ:.o=.os) $(libpthread-static-y:.o=.os) +else +libpthread-a-y += $(libpthread_OBJ) $(libpthread-static-y) +endif +libpthread-so-y += $(libpthread_OBJ:.o=.os) $(libpthread-shared-y) + +libpthread-multi-y += $(libpthread_SRC) +libpthread-nomulti-y += $(patsubst %.c,$(libpthread_OUT)/%.o,$(libpthread_NO_MULTI)) + +lib-a-$(UCLIBC_HAS_THREADS) += $(top_builddir)lib/libpthread.a +lib-so-$(UCLIBC_HAS_THREADS) += $(top_builddir)lib/libpthread.so +objclean-y += libpthread_clean +headers-$(UCLIBC_HAS_THREADS) += linuxthreads_headers +headers_clean-y += linuxthreads_headers_clean + +$(top_builddir)lib/libpthread.so: $(libpthread_OUT)/libpthread_so.a $(libc) + $(call link.so,$(libpthread_FULL_NAME),$(MAJOR_VERSION)) + +$(libpthread_OUT)/libpthread_so.a: $(libpthread-so-y) + $(Q)$(RM) $@ +ifeq ($(PTHREADS_DEBUG_SUPPORT),y) + $(do_strip:-x=-X --strip-debug) +else + $(do_strip) +endif + $(do_ar) + +$(top_builddir)lib/libpthread.a: $(libpthread-a-y) + $(Q)$(INSTALL) -d $(dir $@) + $(Q)$(RM) $@ +ifeq ($(PTHREADS_DEBUG_SUPPORT),y) + $(do_strip:-x=-X --strip-debug) +else + $(do_strip) +endif + $(do_ar) + +linuxthreads_headers: + $(LN) -sf ../$(PTDIR)/sysdeps/pthread/pthread.h $(top_builddir)include/ + $(LN) -sf ../$(PTDIR)/semaphore.h $(top_builddir)include/ + $(INSTALL) -d $(top_builddir)include/bits + $(LN) -sf ../../$(PTDIR)/sysdeps/pthread/bits/pthreadtypes.h $(top_builddir)include/bits/ + +linuxthreads_headers_clean: + $(RM) $(top_builddir)include/pthread.h $(top_builddir)include/semaphore.h \ + $(top_builddir)include/bits/pthreadtypes.h + +libpthread_clean: + $(RM) $(libpthread_OUT)/{,*/,*/*/,*/*/*/,*/*/*/*/}*.{o,os,a} diff --git a/libpthread/linuxthreads/alloca_cutoff.c b/libpthread/linuxthreads/alloca_cutoff.c new file mode 100644 index 000000000..ca064b3bb --- /dev/null +++ b/libpthread/linuxthreads/alloca_cutoff.c @@ -0,0 +1,36 @@ +/* Determine whether block of given size can be allocated on the stack or not. + Copyright (C) 2002, 2003 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2.1 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include +#include +#include +#include "internals.h" +#include + +int +__libc_alloca_cutoff (size_t size) +{ + if (! SINGLE_THREAD_P) + { + pthread_descr self = thread_self (); + return size <= LIBC_THREAD_GETMEM (self, p_alloca_cutoff); + } + + return size <= __MAX_ALLOCA_CUTOFF; +} diff --git a/libpthread/linuxthreads/attr.c b/libpthread/linuxthreads/attr.c new file mode 100644 index 000000000..a79bd78c4 --- /dev/null +++ b/libpthread/linuxthreads/attr.c @@ -0,0 +1,467 @@ +/* Linuxthreads - a simple clone()-based implementation of Posix */ +/* threads for Linux. */ +/* Copyright (C) 1996 Xavier Leroy (Xavier.Leroy@inria.fr) */