From 0ecb606cb6cf65de1d9fc8a919bceb4be476c602 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 12 Jul 2007 18:26:36 +0000 Subject: 2.5-18.1 --- linuxthreads/sysdeps/alpha/elf/pt-initfini.c | 90 --- linuxthreads/sysdeps/alpha/pspinlock.c | 110 ---- linuxthreads/sysdeps/alpha/pt-machine.h | 128 ---- linuxthreads/sysdeps/alpha/tls.h | 129 ---- linuxthreads/sysdeps/arm/pspinlock.c | 82 --- linuxthreads/sysdeps/arm/pt-machine.h | 55 -- linuxthreads/sysdeps/cris/pspinlock.c | 72 --- linuxthreads/sysdeps/cris/pt-machine.h | 58 -- linuxthreads/sysdeps/hppa/pspinlock.c | 81 --- linuxthreads/sysdeps/hppa/pt-machine.h | 62 -- linuxthreads/sysdeps/i386/Makefile | 22 - linuxthreads/sysdeps/i386/i586/Versions | 5 - linuxthreads/sysdeps/i386/i686/Versions | 5 - linuxthreads/sysdeps/i386/i686/pt-machine.h | 79 --- linuxthreads/sysdeps/i386/pspinlock.c | 103 ---- linuxthreads/sysdeps/i386/pt-machine.h | 108 ---- linuxthreads/sysdeps/i386/tcb-offsets.sym | 7 - linuxthreads/sysdeps/i386/tls.h | 225 ------- linuxthreads/sysdeps/i386/useldt.h | 314 ---------- linuxthreads/sysdeps/ia64/Makefile | 3 - linuxthreads/sysdeps/ia64/Versions | 5 - linuxthreads/sysdeps/ia64/pspinlock.c | 79 --- linuxthreads/sysdeps/ia64/pt-machine.h | 133 ---- linuxthreads/sysdeps/ia64/tcb-offsets.sym | 9 - linuxthreads/sysdeps/ia64/tls.h | 141 ----- linuxthreads/sysdeps/m68k/Makefile | 7 - linuxthreads/sysdeps/m68k/pspinlock.c | 82 --- linuxthreads/sysdeps/m68k/pt-machine.h | 69 --- linuxthreads/sysdeps/mips/pspinlock.c | 98 --- linuxthreads/sysdeps/mips/pt-machine.h | 92 --- linuxthreads/sysdeps/powerpc/Makefile | 7 - linuxthreads/sysdeps/powerpc/powerpc32/pspinlock.c | 70 --- .../sysdeps/powerpc/powerpc32/pt-machine.h | 120 ---- linuxthreads/sysdeps/powerpc/powerpc64/pspinlock.c | 70 --- .../sysdeps/powerpc/powerpc64/pt-machine.h | 185 ------ linuxthreads/sysdeps/powerpc/tcb-offsets.sym | 19 - linuxthreads/sysdeps/powerpc/tls.h | 160 ----- linuxthreads/sysdeps/pthread/Makefile | 14 - linuxthreads/sysdeps/pthread/Subdirs | 1 - linuxthreads/sysdeps/pthread/bits/initspin.h | 28 - linuxthreads/sysdeps/pthread/bits/libc-lock.h | 413 ------------- linuxthreads/sysdeps/pthread/bits/libc-tsd.h | 59 -- linuxthreads/sysdeps/pthread/bits/pthreadtypes.h | 152 ----- linuxthreads/sysdeps/pthread/bits/typesizes.h | 66 -- linuxthreads/sysdeps/pthread/errno-loc.c | 46 -- linuxthreads/sysdeps/pthread/flockfile.c | 33 - linuxthreads/sysdeps/pthread/ftrylockfile.c | 33 - linuxthreads/sysdeps/pthread/funlockfile.c | 33 - linuxthreads/sysdeps/pthread/getcpuclockid.c | 49 -- linuxthreads/sysdeps/pthread/herrno-loc.c | 43 -- linuxthreads/sysdeps/pthread/list.h | 114 ---- linuxthreads/sysdeps/pthread/malloc-machine.h | 67 -- linuxthreads/sysdeps/pthread/posix-timer.h | 204 ------ linuxthreads/sysdeps/pthread/pt-initfini.c | 124 ---- linuxthreads/sysdeps/pthread/pthread-functions.h | 96 --- linuxthreads/sysdeps/pthread/pthread.h | 686 --------------------- 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/s390/Makefile | 6 - linuxthreads/sysdeps/s390/pspinlock.c | 91 --- linuxthreads/sysdeps/s390/s390-32/pt-machine.h | 120 ---- linuxthreads/sysdeps/s390/s390-64/pt-machine.h | 125 ---- linuxthreads/sysdeps/s390/tcb-offsets.sym | 4 - linuxthreads/sysdeps/s390/tls.h | 140 ----- linuxthreads/sysdeps/sh/Makefile | 3 - linuxthreads/sysdeps/sh/pspinlock.c | 80 --- linuxthreads/sysdeps/sh/pt-machine.h | 81 --- linuxthreads/sysdeps/sh/tcb-offsets.sym | 10 - linuxthreads/sysdeps/sh/tls.h | 148 ----- linuxthreads/sysdeps/sparc/Makefile | 3 - linuxthreads/sysdeps/sparc/sparc32/pspinlock.c | 88 --- linuxthreads/sysdeps/sparc/sparc32/pt-machine.h | 83 --- .../sysdeps/sparc/sparc32/sparcv9/Versions | 5 - .../sysdeps/sparc/sparc32/sparcv9/pspinlock.c | 94 --- linuxthreads/sysdeps/sparc/sparc64/Versions | 5 - linuxthreads/sysdeps/sparc/sparc64/pspinlock.c | 93 --- linuxthreads/sysdeps/sparc/sparc64/pt-machine.h | 105 ---- linuxthreads/sysdeps/sparc/tcb-offsets.sym | 4 - linuxthreads/sysdeps/sparc/tls.h | 110 ---- linuxthreads/sysdeps/unix/sysv/linux/Implies | 1 - linuxthreads/sysdeps/unix/sysv/linux/Makefile | 3 - linuxthreads/sysdeps/unix/sysv/linux/Versions | 5 - linuxthreads/sysdeps/unix/sysv/linux/allocalim.h | 26 - linuxthreads/sysdeps/unix/sysv/linux/allocrtsig.c | 87 --- .../sysdeps/unix/sysv/linux/alpha/Makefile | 3 - .../sysdeps/unix/sysv/linux/alpha/Versions | 6 - .../sysdeps/unix/sysv/linux/alpha/aio_cancel.c | 33 - .../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 ----- linuxthreads/sysdeps/unix/sysv/linux/alpha/vfork.S | 70 --- .../sysdeps/unix/sysv/linux/arm/sysdep-cancel.h | 145 ----- linuxthreads/sysdeps/unix/sysv/linux/arm/vfork.S | 80 --- .../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 | 43 -- linuxthreads/sysdeps/unix/sysv/linux/fork.h | 60 -- .../sysdeps/unix/sysv/linux/hppa/aio_cancel.c | 33 - .../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/dl-sysdep.h | 64 -- .../sysdeps/unix/sysv/linux/i386/sysdep-cancel.h | 179 ------ linuxthreads/sysdeps/unix/sysv/linux/i386/vfork.S | 95 --- linuxthreads/sysdeps/unix/sysv/linux/ia64/Makefile | 3 - linuxthreads/sysdeps/unix/sysv/linux/ia64/Versions | 6 - .../sysdeps/unix/sysv/linux/ia64/bits/local_lim.h | 92 --- .../sysdeps/unix/sysv/linux/ia64/dl-sysdep.h | 49 -- linuxthreads/sysdeps/unix/sysv/linux/ia64/fork.h | 25 - .../sysdeps/unix/sysv/linux/ia64/pt-initfini.c | 140 ----- .../sysdeps/unix/sysv/linux/ia64/pt-sigsuspend.c | 33 - .../sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h | 144 ----- linuxthreads/sysdeps/unix/sysv/linux/ia64/vfork.S | 54 -- linuxthreads/sysdeps/unix/sysv/linux/jmp-unwind.c | 34 - .../sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h | 129 ---- linuxthreads/sysdeps/unix/sysv/linux/m68k/vfork.S | 84 --- linuxthreads/sysdeps/unix/sysv/linux/mips/Makefile | 3 - .../unix/sysv/linux/mips/mips64/sysdep-cancel.h | 144 ----- .../sysdeps/unix/sysv/linux/mips/sysdep-cancel.h | 143 ----- linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c | 287 --------- .../sysdeps/unix/sysv/linux/powerpc/Makefile | 2 - .../sysdeps/unix/sysv/linux/powerpc/Versions | 5 - .../sysv/linux/powerpc/powerpc32/sysdep-cancel.h | 131 ---- .../unix/sysv/linux/powerpc/powerpc32/vfork.S | 78 --- .../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 | 56 -- linuxthreads/sysdeps/unix/sysv/linux/raise.c | 36 -- .../sysdeps/unix/sysv/linux/register-atfork.c | 88 --- .../sysdeps/unix/sysv/linux/s390/bits/typesizes.h | 72 --- .../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/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/pt-initfini.c | 143 ----- linuxthreads/sysdeps/unix/sysv/linux/sh/smp.h | 24 - .../sysdeps/unix/sysv/linux/sh/sysdep-cancel.h | 227 ------- linuxthreads/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/Versions | 6 - .../sysdeps/unix/sysv/linux/sparc/aio_cancel.c | 33 - .../sysdeps/unix/sysv/linux/sparc/bits/local_lim.h | 92 --- .../sysdeps/unix/sysv/linux/sparc/bits/typesizes.h | 66 -- linuxthreads/sysdeps/unix/sysv/linux/sparc/fork.h | 34 - .../unix/sysv/linux/sparc/sparc32/sysdep-cancel.h | 102 --- .../sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S | 65 -- .../sysdeps/unix/sysv/linux/sparc/sparc64/Makefile | 5 - .../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/Makefile | 4 - .../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 -- linuxthreads/sysdeps/x86_64/Makefile | 3 - linuxthreads/sysdeps/x86_64/Versions | 5 - linuxthreads/sysdeps/x86_64/pspinlock.c | 97 --- linuxthreads/sysdeps/x86_64/pt-machine.h | 225 ------- linuxthreads/sysdeps/x86_64/tcb-offsets.sym | 4 - linuxthreads/sysdeps/x86_64/tls.h | 129 ---- 180 files changed, 14800 deletions(-) delete mode 100644 linuxthreads/sysdeps/alpha/elf/pt-initfini.c delete mode 100644 linuxthreads/sysdeps/alpha/pspinlock.c delete mode 100644 linuxthreads/sysdeps/alpha/pt-machine.h delete mode 100644 linuxthreads/sysdeps/alpha/tls.h delete mode 100644 linuxthreads/sysdeps/arm/pspinlock.c delete mode 100644 linuxthreads/sysdeps/arm/pt-machine.h delete mode 100644 linuxthreads/sysdeps/cris/pspinlock.c delete mode 100644 linuxthreads/sysdeps/cris/pt-machine.h delete mode 100644 linuxthreads/sysdeps/hppa/pspinlock.c delete mode 100644 linuxthreads/sysdeps/hppa/pt-machine.h delete mode 100644 linuxthreads/sysdeps/i386/Makefile delete mode 100644 linuxthreads/sysdeps/i386/i586/Versions delete mode 100644 linuxthreads/sysdeps/i386/i686/Versions delete mode 100644 linuxthreads/sysdeps/i386/i686/pt-machine.h delete mode 100644 linuxthreads/sysdeps/i386/pspinlock.c delete mode 100644 linuxthreads/sysdeps/i386/pt-machine.h delete mode 100644 linuxthreads/sysdeps/i386/tcb-offsets.sym delete mode 100644 linuxthreads/sysdeps/i386/tls.h delete mode 100644 linuxthreads/sysdeps/i386/useldt.h delete mode 100644 linuxthreads/sysdeps/ia64/Makefile delete mode 100644 linuxthreads/sysdeps/ia64/Versions delete mode 100644 linuxthreads/sysdeps/ia64/pspinlock.c delete mode 100644 linuxthreads/sysdeps/ia64/pt-machine.h delete mode 100644 linuxthreads/sysdeps/ia64/tcb-offsets.sym delete mode 100644 linuxthreads/sysdeps/ia64/tls.h delete mode 100644 linuxthreads/sysdeps/m68k/Makefile delete mode 100644 linuxthreads/sysdeps/m68k/pspinlock.c delete mode 100644 linuxthreads/sysdeps/m68k/pt-machine.h delete mode 100644 linuxthreads/sysdeps/mips/pspinlock.c delete mode 100644 linuxthreads/sysdeps/mips/pt-machine.h delete mode 100644 linuxthreads/sysdeps/powerpc/Makefile delete mode 100644 linuxthreads/sysdeps/powerpc/powerpc32/pspinlock.c delete mode 100644 linuxthreads/sysdeps/powerpc/powerpc32/pt-machine.h delete mode 100644 linuxthreads/sysdeps/powerpc/powerpc64/pspinlock.c delete mode 100644 linuxthreads/sysdeps/powerpc/powerpc64/pt-machine.h delete mode 100644 linuxthreads/sysdeps/powerpc/tcb-offsets.sym delete mode 100644 linuxthreads/sysdeps/powerpc/tls.h delete mode 100644 linuxthreads/sysdeps/pthread/Makefile delete mode 100644 linuxthreads/sysdeps/pthread/Subdirs delete mode 100644 linuxthreads/sysdeps/pthread/bits/initspin.h delete mode 100644 linuxthreads/sysdeps/pthread/bits/libc-lock.h delete mode 100644 linuxthreads/sysdeps/pthread/bits/libc-tsd.h delete mode 100644 linuxthreads/sysdeps/pthread/bits/pthreadtypes.h delete mode 100644 linuxthreads/sysdeps/pthread/bits/typesizes.h delete mode 100644 linuxthreads/sysdeps/pthread/errno-loc.c delete mode 100644 linuxthreads/sysdeps/pthread/flockfile.c delete mode 100644 linuxthreads/sysdeps/pthread/ftrylockfile.c delete mode 100644 linuxthreads/sysdeps/pthread/funlockfile.c delete mode 100644 linuxthreads/sysdeps/pthread/getcpuclockid.c delete mode 100644 linuxthreads/sysdeps/pthread/herrno-loc.c delete mode 100644 linuxthreads/sysdeps/pthread/list.h delete mode 100644 linuxthreads/sysdeps/pthread/malloc-machine.h delete mode 100644 linuxthreads/sysdeps/pthread/posix-timer.h delete mode 100644 linuxthreads/sysdeps/pthread/pt-initfini.c delete mode 100644 linuxthreads/sysdeps/pthread/pthread-functions.h delete mode 100644 linuxthreads/sysdeps/pthread/pthread.h delete mode 100644 linuxthreads/sysdeps/pthread/ptlongjmp.c delete mode 100644 linuxthreads/sysdeps/pthread/res-state.c delete mode 100644 linuxthreads/sysdeps/pthread/semaphore.h delete mode 100644 linuxthreads/sysdeps/pthread/sigaction.c delete mode 100644 linuxthreads/sysdeps/pthread/tcb-offsets.h delete mode 100644 linuxthreads/sysdeps/pthread/timer_create.c delete mode 100644 linuxthreads/sysdeps/pthread/timer_delete.c delete mode 100644 linuxthreads/sysdeps/pthread/timer_getoverr.c delete mode 100644 linuxthreads/sysdeps/pthread/timer_gettime.c delete mode 100644 linuxthreads/sysdeps/pthread/timer_routines.c delete mode 100644 linuxthreads/sysdeps/pthread/timer_settime.c delete mode 100644 linuxthreads/sysdeps/pthread/tst-timer.c delete mode 100644 linuxthreads/sysdeps/s390/Makefile delete mode 100644 linuxthreads/sysdeps/s390/pspinlock.c delete mode 100644 linuxthreads/sysdeps/s390/s390-32/pt-machine.h delete mode 100644 linuxthreads/sysdeps/s390/s390-64/pt-machine.h delete mode 100644 linuxthreads/sysdeps/s390/tcb-offsets.sym delete mode 100644 linuxthreads/sysdeps/s390/tls.h delete mode 100644 linuxthreads/sysdeps/sh/Makefile delete mode 100644 linuxthreads/sysdeps/sh/pspinlock.c delete mode 100644 linuxthreads/sysdeps/sh/pt-machine.h delete mode 100644 linuxthreads/sysdeps/sh/tcb-offsets.sym delete mode 100644 linuxthreads/sysdeps/sh/tls.h delete mode 100644 linuxthreads/sysdeps/sparc/Makefile delete mode 100644 linuxthreads/sysdeps/sparc/sparc32/pspinlock.c delete mode 100644 linuxthreads/sysdeps/sparc/sparc32/pt-machine.h delete mode 100644 linuxthreads/sysdeps/sparc/sparc32/sparcv9/Versions delete mode 100644 linuxthreads/sysdeps/sparc/sparc32/sparcv9/pspinlock.c delete mode 100644 linuxthreads/sysdeps/sparc/sparc64/Versions delete mode 100644 linuxthreads/sysdeps/sparc/sparc64/pspinlock.c delete mode 100644 linuxthreads/sysdeps/sparc/sparc64/pt-machine.h delete mode 100644 linuxthreads/sysdeps/sparc/tcb-offsets.sym delete mode 100644 linuxthreads/sysdeps/sparc/tls.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/Implies delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/Makefile delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/Versions delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/allocalim.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/allocrtsig.c delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/alpha/Makefile delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/alpha/Versions delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/alpha/aio_cancel.c delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/alpha/bits/local_lim.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/alpha/bits/typesizes.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/alpha/pt-sigsuspend.S delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/alpha/vfork.S delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/arm/sysdep-cancel.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/arm/vfork.S delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/execve.c delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/fork.c delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/fork.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/hppa/aio_cancel.c delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/hppa/bits/initspin.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/hppa/malloc-machine.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/hppa/pt-initfini.c delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/i386/dl-sysdep.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/i386/vfork.S delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/ia64/Makefile delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/ia64/Versions delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/ia64/bits/local_lim.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/ia64/dl-sysdep.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/ia64/fork.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/ia64/pt-initfini.c delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/ia64/pt-sigsuspend.c delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/ia64/vfork.S delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/jmp-unwind.c delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/m68k/vfork.S delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/mips/Makefile delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/mips/sysdep-cancel.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/powerpc/Makefile delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/powerpc/Versions delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/powerpc/ptlongjmp.c delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/pt-sigsuspend.c delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/raise.c delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/register-atfork.c delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/s390/bits/typesizes.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/s390/s390-32/pt-initfini.c delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/s390/s390-64/pt-initfini.c delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/s390/s390-64/pt-sigsuspend.c delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/sh/pt-initfini.c delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/sh/smp.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/sh/vfork.S delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/sigwait.c delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/smp.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/sparc/Versions delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/sparc/aio_cancel.c delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/sparc/bits/typesizes.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/sparc/fork.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/pt-sigsuspend.c delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/unregister-atfork.c delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/x86_64/Makefile delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/x86_64/pt-sigsuspend.c delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h delete mode 100644 linuxthreads/sysdeps/unix/sysv/linux/x86_64/vfork.S delete mode 100644 linuxthreads/sysdeps/x86_64/Makefile delete mode 100644 linuxthreads/sysdeps/x86_64/Versions delete mode 100644 linuxthreads/sysdeps/x86_64/pspinlock.c delete mode 100644 linuxthreads/sysdeps/x86_64/pt-machine.h delete mode 100644 linuxthreads/sysdeps/x86_64/tcb-offsets.sym delete mode 100644 linuxthreads/sysdeps/x86_64/tls.h (limited to 'linuxthreads/sysdeps') diff --git a/linuxthreads/sysdeps/alpha/elf/pt-initfini.c b/linuxthreads/sysdeps/alpha/elf/pt-initfini.c deleted file mode 100644 index ee25582101..0000000000 --- a/linuxthreads/sysdeps/alpha/elf/pt-initfini.c +++ /dev/null @@ -1,90 +0,0 @@ -/* Special .init and .fini section support for Alpha. Linuxthreads version. - 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; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ - -/* This file is compiled into assembly code which is then munged by a sed - script into two files: crti.s and crtn.s. - - * crti.s puts a function prologue at the beginning of the .init and .fini - sections and defines global symbols for those addresses, so they can be - called as functions. - - * crtn.s puts the corresponding function epilogues in the .init and .fini - sections. - - This differs from what would be generated by the generic code in that - we save and restore the GP within the function. In order for linker - relaxation to work, the value in the GP register on exit from a function - must be valid for the function entry point. Normally, a function is - contained within one object file and this is not an issue, provided - that the function reloads the gp after making any function calls. - However, _init and _fini are constructed from pieces of many object - files, all of which may have different GP values. So we must reload - the GP value from crti.o in crtn.o. */ - -__asm__ (" \n\ -#include \"defs.h\" \n\ - \n\ -/*@HEADER_ENDS*/ \n\ - \n\ -/*@_init_PROLOG_BEGINS*/ \n\ - .section .init, \"ax\", @progbits \n\ - .globl _init \n\ - .type _init,@function \n\ - .usepv _init,std \n\ -_init: \n\ - ldgp $29, 0($27) \n\ - subq $30, 16, $30 \n\ - stq $26, 0($30) \n\ - stq $29, 8($30) \n\ - jsr $26, __pthread_initialize_minimal \n\ - ldq $29, 8($30) \n\ - .align 3 \n\ -/*@_init_PROLOG_ENDS*/ \n\ - \n\ -/*@_init_EPILOG_BEGINS*/ \n\ - .section .init, \"ax\", @progbits \n\ - ldq $26, 0($30) \n\ - ldq $29, 8($30) \n\ - addq $30, 16, $30 \n\ - ret \n\ -/*@_init_EPILOG_ENDS*/ \n\ - \n\ -/*@_fini_PROLOG_BEGINS*/ \n\ - .section .fini, \"ax\", @progbits \n\ - .globl _fini \n\ - .type _fini,@function \n\ - .usepv _fini,std \n\ -_fini: \n\ - ldgp $29, 0($27) \n\ - subq $30, 16, $30 \n\ - stq $26, 0($30) \n\ - stq $29, 8($30) \n\ - .align 3 \n\ -/*@_fini_PROLOG_ENDS*/ \n\ - \n\ -/*@_fini_EPILOG_BEGINS*/ \n\ - .section .fini, \"ax\", @progbits \n\ - ldq $26, 0($30) \n\ - ldq $29, 8($30) \n\ - addq $30, 16, $30 \n\ - ret \n\ -/*@_fini_EPILOG_ENDS*/ \n\ - \n\ -/*@TRAILER_BEGINS*/ \n\ -"); diff --git a/linuxthreads/sysdeps/alpha/pspinlock.c b/linuxthreads/sysdeps/alpha/pspinlock.c deleted file mode 100644 index 79b7836293..0000000000 --- a/linuxthreads/sysdeps/alpha/pspinlock.c +++ /dev/null @@ -1,110 +0,0 @@ -/* POSIX spinlock implementation. Alpha version. - Copyright (C) 2000 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 "internals.h" - - -/* This implementation is similar to the one used in the Linux kernel. - But the kernel is byte instructions for the memory access. This is - faster but unusable here. The problem is that only 128 - threads/processes could use the spinlock at the same time. If (by - a design error in the program) a thread/process would hold the - spinlock for a time long enough to accumulate 128 waiting - processes, the next one will find a positive value in the spinlock - and assume it is unlocked. We cannot accept that. */ - -int -__pthread_spin_lock (pthread_spinlock_t *lock) -{ - unsigned int tmp; - asm volatile - ("1: ldl_l %0,%1\n" - " blbs %0,2f\n" - " or %0,1,%0\n" - " stl_c %0,%1\n" - " beq %0,2f\n" - " mb\n" - ".subsection 2\n" - "2: ldl %0,%1\n" - " blbs %0,2b\n" - " br 1b\n" - ".previous" - : "=r" (tmp), "=m" (lock) - : "m" (lock)); - return 0; -} -weak_alias (__pthread_spin_lock, pthread_spin_lock) - - -int -__pthread_spin_trylock (pthread_spinlock_t *lock) -{ - unsigned long int oldval; - unsigned long int temp; - - asm volatile - ("1: ldl_l %0,%1\n" - " and %0,%3,%2\n" - " bne %2,2f\n" - " xor %0,%3,%0\n" - " stl_c %0,%1\n" - " beq %0,3f\n" - " mb\n" - "2:\n" - ".subsection 2\n" - "3: br 1b\n" - ".previous" - : "=&r" (temp), "=m" (*lock), "=&r" (oldval) - : "Ir" (1UL), "m" (*lock)); - - return oldval == 0 ? 0 : EBUSY; -} -weak_alias (__pthread_spin_trylock, pthread_spin_trylock) - - -int -__pthread_spin_unlock (pthread_spinlock_t *lock) -{ - asm volatile ("mb"); - return *lock = 0; -} -weak_alias (__pthread_spin_unlock, pthread_spin_unlock) - - -int -__pthread_spin_init (pthread_spinlock_t *lock, int pshared) -{ - /* We can ignore the `pshared' parameter. Since we are busy-waiting - all processes which can access the memory location `lock' points - to can use the spinlock. */ - *lock = 0; - return 0; -} -weak_alias (__pthread_spin_init, pthread_spin_init) - - -int -__pthread_spin_destroy (pthread_spinlock_t *lock) -{ - /* Nothing to do. */ - return 0; -} -weak_alias (__pthread_spin_destroy, pthread_spin_destroy) diff --git a/linuxthreads/sysdeps/alpha/pt-machine.h b/linuxthreads/sysdeps/alpha/pt-machine.h deleted file mode 100644 index 853ac6f04a..0000000000 --- a/linuxthreads/sysdeps/alpha/pt-machine.h +++ /dev/null @@ -1,128 +0,0 @@ -/* Machine-dependent pthreads configuration and inline functions. - Alpha version. - Copyright (C) 1996, 1997, 1998, 2000, 2002, 2003 - Free Software Foundation, Inc. - This file is part of the GNU C Library. - Contributed by Richard Henderson . - - 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. */ - -#ifndef _PT_MACHINE_H -#define _PT_MACHINE_H 1 - -#ifndef PT_EI -# define PT_EI extern inline __attribute__ ((always_inline)) -#endif - -#ifdef __linux__ -# include -#else -# include -#endif - -extern long int testandset (int *spinlock); -extern int __compare_and_swap (long int *p, long int oldval, long int newval); - -/* Get some notion of the current stack. Need not be exactly the top - of the stack, just something somewhere in the current frame. */ -#define CURRENT_STACK_FRAME stack_pointer -register char *stack_pointer __asm__("$30"); - - -/* Memory barrier; default is to do nothing */ -#define MEMORY_BARRIER() __asm__ __volatile__("mb" : : : "memory") -/* Write barrier. */ -#define WRITE_MEMORY_BARRIER() __asm__ __volatile__("wmb" : : : "memory") - - -/* Spinlock implementation; required. */ -PT_EI long int -testandset (int *spinlock) -{ - long int ret, temp; - - __asm__ __volatile__( - "/* Inline spinlock test & set */\n" - "1:\t" - "ldl_l %0,%3\n\t" - "bne %0,2f\n\t" - "or $31,1,%1\n\t" - "stl_c %1,%2\n\t" - "beq %1,1b\n" - "2:\tmb\n" - "/* End spinlock test & set */" - : "=&r"(ret), "=&r"(temp), "=m"(*spinlock) - : "m"(*spinlock) - : "memory"); - - return ret; -} - - -/* Begin allocating thread stacks at this address. Default is to allocate - them just below the initial program stack. */ -#define THREAD_STACK_START_ADDRESS 0x40000000000 - - -/* Return the thread descriptor for the current thread. */ -#define THREAD_SELF \ -({ \ - register pthread_descr __self __asm__("$0"); \ - __asm__ ("call_pal %1" : "=r"(__self) : "i"(PAL_rduniq)); \ - __self; \ -}) - -/* Initialize the thread-unique value. */ -#define INIT_THREAD_SELF(descr, nr) \ -{ \ - register pthread_descr __self __asm__("$16") = (descr); \ - __asm__ __volatile__ ("call_pal %1" : : "r"(__self), "i"(PAL_wruniq)); \ -} - - -/* Compare-and-swap for semaphores. */ - -#define HAS_COMPARE_AND_SWAP -PT_EI int -__compare_and_swap (long int *p, long int oldval, long int newval) -{ - long int ret; - - __asm__ __volatile__ ( - "/* Inline compare & swap */\n" - "1:\t" - "ldq_l %0,%4\n\t" - "cmpeq %0,%2,%0\n\t" - "beq %0,2f\n\t" - "mov %3,%0\n\t" - "stq_c %0,%1\n\t" - "beq %0,1b\n\t" - "2:\tmb\n" - "/* End compare & swap */" - : "=&r"(ret), "=m"(*p) - : "r"(oldval), "r"(newval), "m"(*p) - : "memory"); - - return ret; -} - -/* We want the OS to assign stack addresses. */ -#define FLOATING_STACKS 1 - -/* Maximum size of the stack if the rlimit is unlimited. */ -#define ARCH_STACK_MAX_SIZE 32*1024*1024 - -#endif /* pt-machine.h */ diff --git a/linuxthreads/sysdeps/alpha/tls.h b/linuxthreads/sysdeps/alpha/tls.h deleted file mode 100644 index 261d333eb4..0000000000 --- a/linuxthreads/sysdeps/alpha/tls.h +++ /dev/null @@ -1,129 +0,0 @@ -/* Definitions for thread-local data handling. linuxthreads/Alpha version. - 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; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ - -#ifndef _TLS_H -#define _TLS_H - -#ifndef __ASSEMBLER__ - -# include -# include - -/* Type for the dtv. */ -typedef union dtv -{ - size_t counter; - void *pointer; -} dtv_t; - - -typedef struct -{ - dtv_t *dtv; - - /* Reserved for the thread implementation. Unused in LinuxThreads. */ - void *private; -} tcbhead_t; -#endif - - -#ifdef HAVE_TLS_SUPPORT - -/* Signal that TLS support is available. */ -# define USE_TLS 1 - -# ifndef __ASSEMBLER__ -/* Get system call information. */ -# include - -/* This is the size of the initial TCB. */ -# define TLS_INIT_TCB_SIZE sizeof (tcbhead_t) - -/* Alignment requirements for the initial TCB. */ -# define TLS_INIT_TCB_ALIGN __alignof__ (tcbhead_t) - -/* This is the size of the TCB. */ -# define TLS_TCB_SIZE sizeof (tcbhead_t) - -/* Alignment requirements for the TCB. */ -# define TLS_TCB_ALIGN __alignof__ (tcbhead_t) - -/* This is the size we need before TCB. */ -# define TLS_PRE_TCB_SIZE sizeof (struct _pthread_descr_struct) - -/* The DTV is allocated at the TP; the TCB is placed elsewhere. */ -# define TLS_DTV_AT_TP 1 - -/* Install the dtv pointer. The pointer passed is to the element with - index -1 which contain the length. */ -# define INSTALL_DTV(TCBP, DTVP) \ - (((tcbhead_t *) (TCBP))->dtv = (DTVP) + 1) - -/* Install new dtv for current thread. */ -# define INSTALL_NEW_DTV(DTV) \ - (((tcbhead_t *)__builtin_thread_pointer ())->dtv = (DTV)) - -/* Return dtv of given thread descriptor. */ -# define GET_DTV(TCBP) \ - (((tcbhead_t *) (TCBP))->dtv) - -/* Code to initially initialize the thread pointer. This might need - special attention since 'errno' is not yet available and if the - operation can cause a failure 'errno' must not be touched. */ -# define TLS_INIT_TP(TCBP, SECONDCALL) \ - (__builtin_set_thread_pointer (TCBP), 0) - -/* Return the address of the dtv for the current thread. */ -# define THREAD_DTV() \ - (((tcbhead_t *)__builtin_thread_pointer ())->dtv) - -/* Return the thread descriptor for the current thread. */ -# undef THREAD_SELF -# define THREAD_SELF \ - ((pthread_descr)__builtin_thread_pointer () - 1) - -# undef INIT_THREAD_SELF -# define INIT_THREAD_SELF(DESCR, NR) \ - __builtin_set_thread_pointer ((struct _pthread_descr_struct *)(DESCR) + 1) - -/* Get the thread descriptor definition. */ -# include - -/* ??? Generic bits of LinuxThreads may call these macros with - DESCR set to NULL. We are expected to be able to reference - the "current" value. - - In our case, we'd really prefer to use DESCR, since lots of - PAL_code calls would be expensive. We can only trust that - the compiler does its job and unifies the multiple - __builtin_thread_pointer instances. */ - -#define THREAD_GETMEM(descr, member) \ - ((void) sizeof (descr), THREAD_SELF->member) -#define THREAD_GETMEM_NC(descr, member) \ - ((void) sizeof (descr), THREAD_SELF->member) -#define THREAD_SETMEM(descr, member, value) \ - ((void) sizeof (descr), THREAD_SELF->member = (value)) -#define THREAD_SETMEM_NC(descr, member, value) \ - ((void) sizeof (descr), THREAD_SELF->member = (value)) - -# endif /* HAVE_TLS_SUPPORT */ -#endif /* __ASSEMBLER__ */ - -#endif /* tls.h */ diff --git a/linuxthreads/sysdeps/arm/pspinlock.c b/linuxthreads/sysdeps/arm/pspinlock.c deleted file mode 100644 index 665e270b69..0000000000 --- a/linuxthreads/sysdeps/arm/pspinlock.c +++ /dev/null @@ -1,82 +0,0 @@ -/* POSIX spinlock implementation. Arm version. - Copyright (C) 2000 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 "internals.h" - - -int -__pthread_spin_lock (pthread_spinlock_t *lock) -{ - unsigned int val; - - do - asm volatile ("swp %0, %1, [%2]" - : "=r" (val) - : "0" (1), "r" (lock) - : "memory"); - while (val != 0); - - return 0; -} -weak_alias (__pthread_spin_lock, pthread_spin_lock) - - -int -__pthread_spin_trylock (pthread_spinlock_t *lock) -{ - unsigned int val; - - asm volatile ("swp %0, %1, [%2]" - : "=r" (val) - : "0" (1), "r" (lock) - : "memory"); - - return val ? EBUSY : 0; -} -weak_alias (__pthread_spin_trylock, pthread_spin_trylock) - - -int -__pthread_spin_unlock (pthread_spinlock_t *lock) -{ - return *lock = 0; -} -weak_alias (__pthread_spin_unlock, pthread_spin_unlock) - - -int -__pthread_spin_init (pthread_spinlock_t *lock, int pshared) -{ - /* We can ignore the `pshared' parameter. Since we are busy-waiting - all processes which can access the memory location `lock' points - to can use the spinlock. */ - return *lock = 0; -} -weak_alias (__pthread_spin_init, pthread_spin_init) - - -int -__pthread_spin_destroy (pthread_spinlock_t *lock) -{ - /* Nothing to do. */ - return 0; -} -weak_alias (__pthread_spin_destroy, pthread_spin_destroy) diff --git a/linuxthreads/sysdeps/arm/pt-machine.h b/linuxthreads/sysdeps/arm/pt-machine.h deleted file mode 100644 index a4c2f314cb..0000000000 --- a/linuxthreads/sysdeps/arm/pt-machine.h +++ /dev/null @@ -1,55 +0,0 @@ -/* Machine-dependent pthreads configuration and inline functions. - ARM version. - Copyright (C) 1997, 1998, 2000, 2002, 2003 Free Software Foundation, Inc. - This file is part of the GNU C Library. - Contributed by Philip Blundell . - - 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. */ - -#ifndef _PT_MACHINE_H -#define _PT_MACHINE_H 1 - -#ifndef PT_EI -# define PT_EI extern inline __attribute__ ((always_inline)) -#endif - -extern long int testandset (int *spinlock); -extern int __compare_and_swap (long int *p, long int oldval, long int newval); - -/* This will not work on ARM1 or ARM2 because SWP is lacking on those - machines. Unfortunately we have no way to detect this at compile - time; let's hope nobody tries to use one. */ - -/* Spinlock implementation; required. */ -PT_EI long int -testandset (int *spinlock) -{ - register unsigned int ret; - - __asm__ __volatile__("swp %0, %1, [%2]" - : "=r"(ret) - : "0"(1), "r"(spinlock)); - - return ret; -} - - -/* Get some notion of the current stack. Need not be exactly the top - of the stack, just something somewhere in the current frame. */ -#define CURRENT_STACK_FRAME stack_pointer -register char * stack_pointer __asm__ ("sp"); - -#endif /* pt-machine.h */ diff --git a/linuxthreads/sysdeps/cris/pspinlock.c b/linuxthreads/sysdeps/cris/pspinlock.c deleted file mode 100644 index 402e838c00..0000000000 --- a/linuxthreads/sysdeps/cris/pspinlock.c +++ /dev/null @@ -1,72 +0,0 @@ -/* POSIX spinlock implementation. CRIS version. - Copyright (C) 2000, 2001 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 "internals.h" - -/* FIXME: These are just dummies. I don't know why or if they're needed; - configury should default to these definitions. We just follow the - crowd here. */ - -int -__pthread_spin_lock (pthread_spinlock_t *lock) -{ - while (testandset (lock) != 0) - ; - - return 0; -} -weak_alias (__pthread_spin_lock, pthread_spin_lock) - - -int -__pthread_spin_trylock (pthread_spinlock_t *lock) -{ - return testandset (lock) != 0 ? EBUSY : 0; -} -weak_alias (__pthread_spin_trylock, pthread_spin_trylock) - - -int -__pthread_spin_unlock (pthread_spinlock_t *lock) -{ - return *lock = 0; -} -weak_alias (__pthread_spin_unlock, pthread_spin_unlock) - - -int -__pthread_spin_init (pthread_spinlock_t *lock, int pshared) -{ - /* We can ignore the `pshared' parameter. Since we are busy-waiting - all processes which can access the memory location `lock' points - to can use the spinlock. */ - return *lock = 0; -} -weak_alias (__pthread_spin_init, pthread_spin_init) - - -int -__pthread_spin_destroy (pthread_spinlock_t *lock) -{ - /* Nothing to do. */ - return 0; -} -weak_alias (__pthread_spin_destroy, pthread_spin_destroy) diff --git a/linuxthreads/sysdeps/cris/pt-machine.h b/linuxthreads/sysdeps/cris/pt-machine.h deleted file mode 100644 index 431da7101d..0000000000 --- a/linuxthreads/sysdeps/cris/pt-machine.h +++ /dev/null @@ -1,58 +0,0 @@ -/* Machine-dependent pthreads configuration and inline functions. - CRIS version. - Copyright (C) 2001, 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. */ - -#ifndef _PT_MACHINE_H -#define _PT_MACHINE_H 1 - -#ifndef PT_EI -# define PT_EI extern inline __attribute__ ((always_inline)) -#endif - -extern long int testandset (int *spinlock); -extern int __compare_and_swap (long int *p, long int oldval, long int newval); - -PT_EI long int -testandset (int *spinlock) -{ - register unsigned long int ret; - - /* Note the use of a dummy output of *spinlock to expose the write. The - memory barrier is to stop *other* writes being moved past this code. */ - __asm__ __volatile__("clearf\n" - "0:\n\t" - "movu.b [%2],%0\n\t" - "ax\n\t" - "move.b %3,[%2]\n\t" - "bwf 0b\n\t" - "clearf" - : "=&r" (ret), "=m" (*spinlock) - : "r" (spinlock), "r" ((int) 1) - : "memory"); - return ret; -} - - -/* Get some notion of the current stack. Need not be exactly the top - of the stack, just something somewhere in the current frame. - I don't trust register variables, so let's do this the safe way. */ -#define CURRENT_STACK_FRAME \ - ({ char *sp; __asm__ ("move.d $sp,%0" : "=rm" (sp)); sp; }) - -#endif /* pt-machine.h */ diff --git a/linuxthreads/sysdeps/hppa/pspinlock.c b/linuxthreads/sysdeps/hppa/pspinlock.c deleted file mode 100644 index 7f481fa4b6..0000000000 --- a/linuxthreads/sysdeps/hppa/pspinlock.c +++ /dev/null @@ -1,81 +0,0 @@ -/* POSIX spinlock implementation. hppa version. - Copyright (C) 2000 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 "internals.h" - -int -__pthread_spin_lock (pthread_spinlock_t *lock) -{ - unsigned int val; - - do - asm volatile ("ldcw %1,%0" - : "=r" (val), "=m" (*lock) - : "m" (*lock)); - while (!val); - - return 0; -} -weak_alias (__pthread_spin_lock, pthread_spin_lock) - - -int -__pthread_spin_trylock (pthread_spinlock_t *lock) -{ - unsigned int val; - - asm volatile ("ldcw %1,%0" - : "=r" (val), "=m" (*lock) - : "m" (*lock)); - - return val ? 0 : EBUSY; -} -weak_alias (__pthread_spin_trylock, pthread_spin_trylock) - - -int -__pthread_spin_unlock (pthread_spinlock_t *lock) -{ - *lock = 1; - return 0; -} -weak_alias (__pthread_spin_unlock, pthread_spin_unlock) - - -int -__pthread_spin_init (pthread_spinlock_t *lock, int pshared) -{ - /* We can ignore the `pshared' parameter. Since we are busy-waiting - all processes which can access the memory location `lock' points - to can use the spinlock. */ - *lock = 1; - return 0; -} -weak_alias (__pthread_spin_init, pthread_spin_init) - - -int -__pthread_spin_destroy (pthread_spinlock_t *lock) -{ - /* Nothing to do. */ - return 0; -} -weak_alias (__pthread_spin_destroy, pthread_spin_destroy) diff --git a/linuxthreads/sysdeps/hppa/pt-machine.h b/linuxthreads/sysdeps/hppa/pt-machine.h deleted file mode 100644 index abc25c4ca4..0000000000 --- a/linuxthreads/sysdeps/hppa/pt-machine.h +++ /dev/null @@ -1,62 +0,0 @@ -/* Machine-dependent pthreads configuration and inline functions. - hppa version. - Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc. - This file is part of the GNU C Library. - Contributed by Richard Henderson . - - 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. */ - -#ifndef _PT_MACHINE_H -#define _PT_MACHINE_H 1 - -#include - -#ifndef PT_EI -# define PT_EI extern inline __attribute__ ((always_inline)) -#endif - -extern long int testandset (int *spinlock); -extern int __compare_and_swap (long int *p, long int oldval, long int newval); - -/* Get some notion of the current stack. Need not be exactly the top - of the stack, just something somewhere in the current frame. */ -#define CURRENT_STACK_FRAME stack_pointer -register char * stack_pointer __asm__ ("%r30"); - - -/* The hppa only has one atomic read and modify memory operation, - load and clear, so hppa spinlocks must use zero to signify that - someone is holding the lock. */ - -#define xstr(s) str(s) -#define str(s) #s -/* Spinlock implementation; required. */ -PT_EI long int -testandset (int *spinlock) -{ - int ret; - - __asm__ __volatile__( - "ldcw 0(%2),%0" - : "=r"(ret), "=m"(*spinlock) - : "r"(spinlock)); - - return ret == 0; -} -#undef str -#undef xstr - -#endif /* pt-machine.h */ diff --git a/linuxthreads/sysdeps/i386/Makefile b/linuxthreads/sysdeps/i386/Makefile deleted file mode 100644 index 45183d1cd3..0000000000 --- a/linuxthreads/sysdeps/i386/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -ifeq ($(subdir),linuxthreads) -# On i686 we must avoid generating the trampoline functions generated -# to get the GOT pointer. -CFLAGS-pt-initfini.s += -march=i386 -mcpu=i386 - -# Most files must not be compiled without frame pointer since we need -# the frame base address which is stored in %ebp unless the frame pointer -# is optimized out. -CFLAGS-cancel.c += -fno-omit-frame-pointer -mpreferred-stack-boundary=4 -CFLAGS-condvar.c += -fno-omit-frame-pointer -CFLAGS-join.c += -fno-omit-frame-pointer -CFLAGS-manager.c += -fno-omit-frame-pointer -mpreferred-stack-boundary=4 -CFLAGS-oldsemaphore.c += -fno-omit-frame-pointer -CFLAGS-pthread.c += -fno-omit-frame-pointer -mpreferred-stack-boundary=4 -CFLAGS-ptlongjmp.c += -fno-omit-frame-pointer -CFLAGS-semaphore.c += -fno-omit-frame-pointer -CFLAGS-sighandler.c += -fno-omit-frame-pointer -mpreferred-stack-boundary=4 -endif - -ifeq ($(subdir),csu) -gen-as-const-headers += tcb-offsets.sym -endif diff --git a/linuxthreads/sysdeps/i386/i586/Versions b/linuxthreads/sysdeps/i386/i586/Versions deleted file mode 100644 index 32da57080d..0000000000 --- a/linuxthreads/sysdeps/i386/i586/Versions +++ /dev/null @@ -1,5 +0,0 @@ -libpthread { - GLIBC_PRIVATE { - __pthread_clock_gettime; __pthread_clock_settime; - } -} diff --git a/linuxthreads/sysdeps/i386/i686/Versions b/linuxthreads/sysdeps/i386/i686/Versions deleted file mode 100644 index 32da57080d..0000000000 --- a/linuxthreads/sysdeps/i386/i686/Versions +++ /dev/null @@ -1,5 +0,0 @@ -libpthread { - GLIBC_PRIVATE { - __pthread_clock_gettime; __pthread_clock_settime; - } -} diff --git a/linuxthreads/sysdeps/i386/i686/pt-machine.h b/linuxthreads/sysdeps/i386/i686/pt-machine.h deleted file mode 100644 index 1c75bf9807..0000000000 --- a/linuxthreads/sysdeps/i386/i686/pt-machine.h +++ /dev/null @@ -1,79 +0,0 @@ -/* Machine-dependent pthreads configuration and inline functions. - i686 version. - Copyright (C) 1996-2001, 2002, 2003 Free Software Foundation, Inc. - This file is part of the GNU C Library. - Contributed by Richard Henderson . - - 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. */ - -#ifndef _PT_MACHINE_H -#define _PT_MACHINE_H 1 - -#ifndef PT_EI -# define PT_EI extern inline __attribute__ ((always_inline)) -#endif -#include "kernel-features.h" - -#ifndef __ASSEMBLER__ -extern long int testandset (int *spinlock); -extern int __compare_and_swap (long int *p, long int oldval, long int newval); - -/* Get some notion of the current stack. Need not be exactly the top - of the stack, just something somewhere in the current frame. */ -#define CURRENT_STACK_FRAME __builtin_frame_address (0) - - -/* Spinlock implementation; required. */ -PT_EI long int -testandset (int *spinlock) -{ - long int ret; - - __asm__ __volatile__ ( - "xchgl %0, %1" - : "=r" (ret), "=m" (*spinlock) - : "0" (1), "m" (*spinlock) - : "memory"); - - return ret; -} - - -/* Compare-and-swap for semaphores. It's always available on i686. */ -#define HAS_COMPARE_AND_SWAP - -PT_EI int -__compare_and_swap (long int *p, long int oldval, long int newval) -{ - char ret; - long int readval; - - __asm__ __volatile__ ("lock; cmpxchgl %3, %1; sete %0" - : "=q" (ret), "=m" (*p), "=a" (readval) - : "r" (newval), "m" (*p), "a" (oldval) - : "memory"); - return ret; -} -#endif - -#if __ASSUME_LDT_WORKS > 0 -#include "../useldt.h" -#endif - -/* The P4 and above really want some help to prevent overheating. */ -#define BUSY_WAIT_NOP __asm__ ("rep; nop") - -#endif /* pt-machine.h */ diff --git a/linuxthreads/sysdeps/i386/pspinlock.c b/linuxthreads/sysdeps/i386/pspinlock.c deleted file mode 100644 index 6a70093957..0000000000 --- a/linuxthreads/sysdeps/i386/pspinlock.c +++ /dev/null @@ -1,103 +0,0 @@ -/* POSIX spinlock implementation. x86 version. - Copyright (C) 2000, 2002 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 "internals.h" -#include "kernel-features.h" - - -/* This implementation is similar to the one used in the Linux kernel. - But the kernel is byte instructions for the memory access. This is - faster but unusable here. The problem is that only 128 - threads/processes could use the spinlock at the same time. If (by - a design error in the program) a thread/process would hold the - spinlock for a time long enough to accumulate 128 waiting - processes, the next one will find a positive value in the spinlock - and assume it is unlocked. We cannot accept that. */ - -int -__pthread_spin_lock (pthread_spinlock_t *lock) -{ - asm volatile - ("\n" - "1:\n\t" - "lock; decl %0\n\t" - "js 2f\n\t" - ".section .text.spinlock,\"ax\"\n" - "2:\n\t" - "cmpl $0,%0\n\t" - "rep; nop\n\t" - "jle 2b\n\t" - "jmp 1b\n\t" - ".previous" - : "=m" (*lock)); - return 0; -} -weak_alias (__pthread_spin_lock, pthread_spin_lock) - - -int -__pthread_spin_trylock (pthread_spinlock_t *lock) -{ - int oldval; - - asm volatile - ("xchgl %0,%1" - : "=r" (oldval), "=m" (*lock) - : "0" (0)); - return oldval > 0 ? 0 : EBUSY; -} -weak_alias (__pthread_spin_trylock, pthread_spin_trylock) - - -int -__pthread_spin_unlock (pthread_spinlock_t *lock) -{ - asm volatile - ("movl $1,%0" - : "=m" (*lock)); - return 0; -} -weak_alias (__pthread_spin_unlock, pthread_spin_unlock) - - -int -__pthread_spin_init (pthread_spinlock_t *lock, int pshared) -{ - /* We can ignore the `pshared' parameter. Since we are busy-waiting - all processes which can access the memory location `lock' points - to can use the spinlock. */ - *lock = 1; - return 0; -} -weak_alias (__pthread_spin_init, pthread_spin_init) - - -int -__pthread_spin_destroy (pthread_spinlock_t *lock) -{ - /* Nothing to do. */ - return 0; -} -weak_alias (__pthread_spin_destroy, pthread_spin_destroy) - -#ifndef __ASSUME_SET_THREAD_AREA_SYSCALL -int __have_no_set_thread_area; -#endif diff --git a/linuxthreads/sysdeps/i386/pt-machine.h b/linuxthreads/sysdeps/i386/pt-machine.h deleted file mode 100644 index 0df096d152..0000000000 --- a/linuxthreads/sysdeps/i386/pt-machine.h +++ /dev/null @@ -1,108 +0,0 @@ -/* Machine-dependent pthreads configuration and inline functions. - i386 version. - Copyright (C) 1996-2001, 2002, 2003 Free Software Foundation, Inc. - This file is part of the GNU C Library. - Contributed by Richard Henderson . - - 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. */ - -#ifndef _PT_MACHINE_H -#define _PT_MACHINE_H 1 - -#ifndef __ASSEMBLER__ -#ifndef PT_EI -# define PT_EI extern inline __attribute__ ((always_inline)) -#endif - -extern long int testandset (int *spinlock); -extern int __compare_and_swap (long int *p, long int oldval, long int newval); - -/* Get some notion of the current stack. Need not be exactly the top - of the stack, just something somewhere in the current frame. */ -#define CURRENT_STACK_FRAME __builtin_frame_address (0) - - -/* Spinlock implementation; required. */ -PT_EI long int -testandset (int *spinlock) -{ - long int ret; - - __asm__ __volatile__( - "xchgl %0, %1" - : "=r"(ret), "=m"(*spinlock) - : "0"(1), "m"(*spinlock) - : "memory"); - - return ret; -} - - -/* Compare-and-swap for semaphores. - Available on the 486 and above, but not on the 386. - We test dynamically whether it's available or not. */ - -#define HAS_COMPARE_AND_SWAP -#define TEST_FOR_COMPARE_AND_SWAP - -PT_EI int -__compare_and_swap (long int *p, long int oldval, long int newval) -{ - char ret; - long int readval; - - __asm__ __volatile__ ("lock; cmpxchgl %3, %1; sete %0" - : "=q" (ret), "=m" (*p), "=a" (readval) - : "r" (newval), "m" (*p), "a" (oldval) - : "memory"); - return ret; -} - - -PT_EI int -get_eflags (void) -{ - int res; - __asm__ __volatile__ ("pushfl; popl %0" : "=r" (res) : ); - return res; -} - - -PT_EI void -set_eflags (int newflags) -{ - __asm__ __volatile__ ("pushl %0; popfl" : : "r" (newflags) : "cc"); -} - - -PT_EI int -compare_and_swap_is_available (void) -{ - int oldflags = get_eflags (); - int changed; - /* Flip AC bit in EFLAGS. */ - set_eflags (oldflags ^ 0x40000); - /* See if bit changed. */ - changed = (get_eflags () ^ oldflags) & 0x40000; - /* Restore EFLAGS. */ - set_eflags (oldflags); - /* If the AC flag did not change, it's a 386 and it lacks cmpxchg. - Otherwise, it's a 486 or above and it has cmpxchg. */ - return changed != 0; -} -#endif /* __ASSEMBLER__ */ - -#endif /* pt-machine.h */ diff --git a/linuxthreads/sysdeps/i386/tcb-offsets.sym b/linuxthreads/sysdeps/i386/tcb-offsets.sym deleted file mode 100644 index 69a5018d88..0000000000 --- a/linuxthreads/sysdeps/i386/tcb-offsets.sym +++ /dev/null @@ -1,7 +0,0 @@ -#include -#include - -MULTIPLE_THREADS_OFFSET offsetof (tcbhead_t, multiple_threads) -#ifdef NEED_DL_SYSINFO -SYSINFO_OFFSET offsetof (tcbhead_t, sysinfo) -#endif diff --git a/linuxthreads/sysdeps/i386/tls.h b/linuxthreads/sysdeps/i386/tls.h deleted file mode 100644 index 5306d082bb..0000000000 --- a/linuxthreads/sysdeps/i386/tls.h +++ /dev/null @@ -1,225 +0,0 @@ -/* Definition for thread-local data handling. linuxthreads/i386 version. - Copyright (C) 2002, 2003, 2004 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 Li