diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-06-12 13:48:47 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-06-12 13:48:47 -0700 |
commit | 463dc947b4f9bc4137c9919ee72b896403926474 (patch) | |
tree | aaade6746cade247ea83c99c3057f6f08e1eb6a9 | |
parent | e876b09076d859836f948691dee5a1e3b956256e (diff) | |
download | glibc-463dc947b4f9bc4137c9919ee72b896403926474.zip glibc-463dc947b4f9bc4137c9919ee72b896403926474.tar.gz glibc-463dc947b4f9bc4137c9919ee72b896403926474.tar.bz2 |
Get rid of nptl/sysdeps/pthread/ subdirectory
-rw-r--r-- | ChangeLog | 78 | ||||
-rw-r--r-- | include/list.h (renamed from nptl/sysdeps/pthread/list.h) | 0 | ||||
-rw-r--r-- | nptl/createthread.c (renamed from nptl/sysdeps/pthread/createthread.c) | 0 | ||||
-rw-r--r-- | nptl/pt-longjmp.c (renamed from nptl/sysdeps/pthread/pt-longjmp.c) | 0 | ||||
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/createthread.c | 2 | ||||
-rw-r--r-- | sysdeps/nptl/Implies (renamed from nptl/sysdeps/unix/sysv/linux/Implies) | 0 | ||||
-rw-r--r-- | sysdeps/nptl/Makefile (renamed from nptl/sysdeps/pthread/Makefile) | 6 | ||||
-rw-r--r-- | sysdeps/nptl/Subdirs (renamed from nptl/sysdeps/pthread/Subdirs) | 0 | ||||
-rw-r--r-- | sysdeps/nptl/aio_misc.h (renamed from nptl/sysdeps/pthread/aio_misc.h) | 0 | ||||
-rw-r--r-- | sysdeps/nptl/bits/libc-lock.h (renamed from nptl/sysdeps/pthread/bits/libc-lock.h) | 0 | ||||
-rw-r--r-- | sysdeps/nptl/bits/libc-lockP.h (renamed from nptl/sysdeps/pthread/bits/libc-lockP.h) | 0 | ||||
-rw-r--r-- | sysdeps/nptl/bits/stdio-lock.h (renamed from nptl/sysdeps/pthread/bits/stdio-lock.h) | 0 | ||||
-rw-r--r-- | sysdeps/nptl/configure (renamed from nptl/sysdeps/pthread/configure) | 0 | ||||
-rw-r--r-- | sysdeps/nptl/configure.ac (renamed from nptl/sysdeps/pthread/configure.ac) | 0 | ||||
-rw-r--r-- | sysdeps/nptl/gai_misc.h (renamed from nptl/sysdeps/pthread/gai_misc.h) | 0 | ||||
-rw-r--r-- | sysdeps/nptl/librt-cancellation.c (renamed from nptl/sysdeps/pthread/librt-cancellation.c) | 0 | ||||
-rw-r--r-- | sysdeps/nptl/malloc-machine.h (renamed from nptl/sysdeps/pthread/malloc-machine.h) | 0 | ||||
-rw-r--r-- | sysdeps/nptl/pthread-functions.h (renamed from nptl/sysdeps/pthread/pthread-functions.h) | 0 | ||||
-rw-r--r-- | sysdeps/nptl/pthread.h (renamed from nptl/sysdeps/pthread/pthread.h) | 0 | ||||
-rw-r--r-- | sysdeps/nptl/setxid.h (renamed from nptl/sysdeps/pthread/setxid.h) | 0 | ||||
-rw-r--r-- | sysdeps/nptl/sigfillset.c (renamed from nptl/sysdeps/pthread/sigfillset.c) | 0 | ||||
-rw-r--r-- | sysdeps/nptl/tcb-offsets.h (renamed from nptl/sysdeps/pthread/tcb-offsets.h) | 0 | ||||
-rw-r--r-- | sysdeps/nptl/tst-mqueue8x.c (renamed from nptl/sysdeps/pthread/tst-mqueue8x.c) | 0 | ||||
-rw-r--r-- | sysdeps/nptl/unwind-forcedunwind.c (renamed from nptl/sysdeps/pthread/unwind-forcedunwind.c) | 0 | ||||
-rw-r--r-- | sysdeps/pthread/Makefile | 23 | ||||
-rw-r--r-- | sysdeps/pthread/allocalim.h (renamed from nptl/sysdeps/pthread/allocalim.h) | 0 | ||||
-rw-r--r-- | sysdeps/pthread/bits/sigthread.h (renamed from nptl/sysdeps/pthread/bits/sigthread.h) | 0 | ||||
-rw-r--r-- | sysdeps/pthread/flockfile.c (renamed from nptl/sysdeps/pthread/flockfile.c) | 0 | ||||
-rw-r--r-- | sysdeps/pthread/ftrylockfile.c (renamed from nptl/sysdeps/pthread/ftrylockfile.c) | 0 | ||||
-rw-r--r-- | sysdeps/pthread/funlockfile.c (renamed from nptl/sysdeps/pthread/funlockfile.c) | 0 | ||||
-rw-r--r-- | sysdeps/pthread/posix-timer.h (renamed from nptl/sysdeps/pthread/posix-timer.h) | 0 | ||||
-rw-r--r-- | sysdeps/pthread/timer_create.c (renamed from nptl/sysdeps/pthread/timer_create.c) | 0 | ||||
-rw-r--r-- | sysdeps/pthread/timer_delete.c (renamed from nptl/sysdeps/pthread/timer_delete.c) | 0 | ||||
-rw-r--r-- | sysdeps/pthread/timer_getoverr.c (renamed from nptl/sysdeps/pthread/timer_getoverr.c) | 0 | ||||
-rw-r--r-- | sysdeps/pthread/timer_gettime.c (renamed from nptl/sysdeps/pthread/timer_gettime.c) | 0 | ||||
-rw-r--r-- | sysdeps/pthread/timer_routines.c (renamed from nptl/sysdeps/pthread/timer_routines.c) | 0 | ||||
-rw-r--r-- | sysdeps/pthread/timer_settime.c (renamed from nptl/sysdeps/pthread/timer_settime.c) | 0 | ||||
-rw-r--r-- | sysdeps/pthread/tst-timer.c (renamed from nptl/sysdeps/pthread/tst-timer.c) | 0 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/Implies | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/pthread_sigmask.c (renamed from nptl/sysdeps/pthread/pthread_sigmask.c) | 0 |
40 files changed, 105 insertions, 7 deletions
@@ -1,5 +1,83 @@ 2014-06-12 Roland McGrath <roland@hack.frob.com> + * sysdeps/nptl/Makefile: Move tst-timer bits to ... + * sysdeps/pthread/Makefile: ... here, new file. + + * nptl/sysdeps/unix/sysv/linux/Implies: Moved ... + * sysdeps/nptl/Implies: ... here. + * sysdeps/unix/sysv/linux/Implies: Add nptl. + * nptl/sysdeps/pthread/list.h: Moved ... + * include/list.h: ... here. + * nptl/sysdeps/pthread/createthread.c: Moved ... + * nptl/createthread.c: ... here. + * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include. + * nptl/sysdeps/pthread/pt-longjmp.c: Moved ... + * nptl/pt-longjmp.c: ... here. + * nptl/sysdeps/pthread/Makefile: Moved ... + * sysdeps/nptl/Makefile: ... here. + * nptl/sysdeps/pthread/Subdirs: Moved ... + * sysdeps/nptl/Subdirs: ... here. + * nptl/sysdeps/pthread/aio_misc.h: Moved ... + * sysdeps/nptl/aio_misc.h: ... here. + * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ... + * sysdeps/nptl/bits/libc-lock.h: ... here. + * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ... + * sysdeps/nptl/bits/libc-lockP.h: ... here. + * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ... + * sysdeps/nptl/bits/stdio-lock.h: ... here. + * nptl/sysdeps/pthread/configure: Moved ... + * sysdeps/nptl/configure: ... here. + * nptl/sysdeps/pthread/configure.ac: Moved ... + * sysdeps/nptl/configure.ac: ... here. + * nptl/sysdeps/pthread/gai_misc.h: Moved ... + * sysdeps/nptl/gai_misc.h: ... here. + * nptl/sysdeps/pthread/librt-cancellation.c: Moved ... + * sysdeps/nptl/librt-cancellation.c: ... here. + * nptl/sysdeps/pthread/malloc-machine.h: Moved ... + * sysdeps/nptl/malloc-machine.h: ... here. + * nptl/sysdeps/pthread/pthread-functions.h: Moved ... + * sysdeps/nptl/pthread-functions.h: ... here. + * nptl/sysdeps/pthread/pthread.h: Moved ... + * sysdeps/nptl/pthread.h: ... here. + * nptl/sysdeps/pthread/setxid.h: Moved ... + * sysdeps/nptl/setxid.h: ... here. + * nptl/sysdeps/pthread/sigfillset.c: Moved ... + * sysdeps/nptl/sigfillset.c: ... here. + * nptl/sysdeps/pthread/tcb-offsets.h: Moved ... + * sysdeps/nptl/tcb-offsets.h: ... here. + * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ... + * sysdeps/nptl/tst-mqueue8x.c: ... here. + * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ... + * sysdeps/nptl/unwind-forcedunwind.c: ... here. + * nptl/sysdeps/pthread/allocalim.h: Moved ... + * sysdeps/pthread/allocalim.h: ... here. + * nptl/sysdeps/pthread/bits/sigthread.h: Moved ... + * sysdeps/pthread/bits/sigthread.h: ... here. + * nptl/sysdeps/pthread/flockfile.c: Moved ... + * sysdeps/pthread/flockfile.c: ... here. + * nptl/sysdeps/pthread/ftrylockfile.c: Moved ... + * sysdeps/pthread/ftrylockfile.c: ... here. + * nptl/sysdeps/pthread/funlockfile.c: Moved ... + * sysdeps/pthread/funlockfile.c: ... here. + * nptl/sysdeps/pthread/posix-timer.h: Moved ... + * sysdeps/pthread/posix-timer.h: ... here. + * nptl/sysdeps/pthread/timer_create.c: Moved ... + * sysdeps/pthread/timer_create.c: ... here. + * nptl/sysdeps/pthread/timer_delete.c: Moved ... + * sysdeps/pthread/timer_delete.c: ... here. + * nptl/sysdeps/pthread/timer_getoverr.c: Moved ... + * sysdeps/pthread/timer_getoverr.c: ... here. + * nptl/sysdeps/pthread/timer_gettime.c: Moved ... + * sysdeps/pthread/timer_gettime.c: ... here. + * nptl/sysdeps/pthread/timer_routines.c: Moved ... + * sysdeps/pthread/timer_routines.c: ... here. + * nptl/sysdeps/pthread/timer_settime.c: Moved ... + * sysdeps/pthread/timer_settime.c: ... here. + * nptl/sysdeps/pthread/tst-timer.c: Moved ... + * sysdeps/pthread/tst-timer.c: ... here. + * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ... + * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here. + * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>. * nptl/sysdeps/pthread/sigprocmask.c: File removed. diff --git a/nptl/sysdeps/pthread/list.h b/include/list.h index 749c727..749c727 100644 --- a/nptl/sysdeps/pthread/list.h +++ b/include/list.h diff --git a/nptl/sysdeps/pthread/createthread.c b/nptl/createthread.c index 28c1ea6..28c1ea6 100644 --- a/nptl/sysdeps/pthread/createthread.c +++ b/nptl/createthread.c diff --git a/nptl/sysdeps/pthread/pt-longjmp.c b/nptl/pt-longjmp.c index 09b3c7e..09b3c7e 100644 --- a/nptl/sysdeps/pthread/pt-longjmp.c +++ b/nptl/pt-longjmp.c diff --git a/nptl/sysdeps/unix/sysv/linux/createthread.c b/nptl/sysdeps/unix/sysv/linux/createthread.c index c2f0902..9a21f39 100644 --- a/nptl/sysdeps/unix/sysv/linux/createthread.c +++ b/nptl/sysdeps/unix/sysv/linux/createthread.c @@ -20,4 +20,4 @@ #define TLS_VALUE pd /* Get the real implementation. */ -#include <nptl/sysdeps/pthread/createthread.c> +#include <nptl/createthread.c> diff --git a/nptl/sysdeps/unix/sysv/linux/Implies b/sysdeps/nptl/Implies index f1b3e89..f1b3e89 100644 --- a/nptl/sysdeps/unix/sysv/linux/Implies +++ b/sysdeps/nptl/Implies diff --git a/nptl/sysdeps/pthread/Makefile b/sysdeps/nptl/Makefile index 60d525e..bedf39b 100644 --- a/nptl/sysdeps/pthread/Makefile +++ b/sysdeps/nptl/Makefile @@ -24,12 +24,6 @@ ifeq ($(subdir),rt) librt-sysdep_routines += timer_routines librt-cancellation CFLAGS-librt-cancellation.c += -fexceptions -fasynchronous-unwind-tables -ifeq (yes,$(build-shared)) -$(objpfx)tst-timer: $(objpfx)librt.so $(shared-thread-library) -else -$(objpfx)tst-timer: $(objpfx)librt.a $(static-thread-library) -endif - ifeq ($(have-forced-unwind),yes) tests += tst-mqueue8x CFLAGS-tst-mqueue8x.c += -fexceptions diff --git a/nptl/sysdeps/pthread/Subdirs b/sysdeps/nptl/Subdirs index 36266c1..36266c1 100644 --- a/nptl/sysdeps/pthread/Subdirs +++ b/sysdeps/nptl/Subdirs diff --git a/nptl/sysdeps/pthread/aio_misc.h b/sysdeps/nptl/aio_misc.h index ac3488c..ac3488c 100644 --- a/nptl/sysdeps/pthread/aio_misc.h +++ b/sysdeps/nptl/aio_misc.h diff --git a/nptl/sysdeps/pthread/bits/libc-lock.h b/sysdeps/nptl/bits/libc-lock.h index 532cf2c..532cf2c 100644 --- a/nptl/sysdeps/pthread/bits/libc-lock.h +++ b/sysdeps/nptl/bits/libc-lock.h diff --git a/nptl/sysdeps/pthread/bits/libc-lockP.h b/sysdeps/nptl/bits/libc-lockP.h index ec20271..ec20271 100644 --- a/nptl/sysdeps/pthread/bits/libc-lockP.h +++ b/sysdeps/nptl/bits/libc-lockP.h diff --git a/nptl/sysdeps/pthread/bits/stdio-lock.h b/sysdeps/nptl/bits/stdio-lock.h index e2678cc..e2678cc 100644 --- a/nptl/sysdeps/pthread/bits/stdio-lock.h +++ b/sysdeps/nptl/bits/stdio-lock.h diff --git a/nptl/sysdeps/pthread/configure b/sysdeps/nptl/configure index 239a039..239a039 100644 --- a/nptl/sysdeps/pthread/configure +++ b/sysdeps/nptl/configure diff --git a/nptl/sysdeps/pthread/configure.ac b/sysdeps/nptl/configure.ac index 413af96..413af96 100644 --- a/nptl/sysdeps/pthread/configure.ac +++ b/sysdeps/nptl/configure.ac diff --git a/nptl/sysdeps/pthread/gai_misc.h b/sysdeps/nptl/gai_misc.h index 946275e..946275e 100644 --- a/nptl/sysdeps/pthread/gai_misc.h +++ b/sysdeps/nptl/gai_misc.h diff --git a/nptl/sysdeps/pthread/librt-cancellation.c b/sysdeps/nptl/librt-cancellation.c index e512929..e512929 100644 --- a/nptl/sysdeps/pthread/librt-cancellation.c +++ b/sysdeps/nptl/librt-cancellation.c diff --git a/nptl/sysdeps/pthread/malloc-machine.h b/sysdeps/nptl/malloc-machine.h index ad480a3..ad480a3 100644 --- a/nptl/sysdeps/pthread/malloc-machine.h +++ b/sysdeps/nptl/malloc-machine.h diff --git a/nptl/sysdeps/pthread/pthread-functions.h b/sysdeps/nptl/pthread-functions.h index 6314425..6314425 100644 --- a/nptl/sysdeps/pthread/pthread-functions.h +++ b/sysdeps/nptl/pthread-functions.h diff --git a/nptl/sysdeps/pthread/pthread.h b/sysdeps/nptl/pthread.h index 40a3e21..40a3e21 100644 --- a/nptl/sysdeps/pthread/pthread.h +++ b/sysdeps/nptl/pthread.h diff --git a/nptl/sysdeps/pthread/setxid.h b/sysdeps/nptl/setxid.h index 76c88e0..76c88e0 100644 --- a/nptl/sysdeps/pthread/setxid.h +++ b/sysdeps/nptl/setxid.h diff --git a/nptl/sysdeps/pthread/sigfillset.c b/sysdeps/nptl/sigfillset.c index 9ab12c7..9ab12c7 100644 --- a/nptl/sysdeps/pthread/sigfillset.c +++ b/sysdeps/nptl/sigfillset.c diff --git a/nptl/sysdeps/pthread/tcb-offsets.h b/sysdeps/nptl/tcb-offsets.h index 3fe1370..3fe1370 100644 --- a/nptl/sysdeps/pthread/tcb-offsets.h +++ b/sysdeps/nptl/tcb-offsets.h diff --git a/nptl/sysdeps/pthread/tst-mqueue8x.c b/sysdeps/nptl/tst-mqueue8x.c index ca28039..ca28039 100644 --- a/nptl/sysdeps/pthread/tst-mqueue8x.c +++ b/sysdeps/nptl/tst-mqueue8x.c diff --git a/nptl/sysdeps/pthread/unwind-forcedunwind.c b/sysdeps/nptl/unwind-forcedunwind.c index 9d7bdc5..9d7bdc5 100644 --- a/nptl/sysdeps/pthread/unwind-forcedunwind.c +++ b/sysdeps/nptl/unwind-forcedunwind.c diff --git a/sysdeps/pthread/Makefile b/sysdeps/pthread/Makefile new file mode 100644 index 0000000..1080dc9 --- /dev/null +++ b/sysdeps/pthread/Makefile @@ -0,0 +1,23 @@ +# sysdeps makefile fragment for all pthread-supporting configurations. +# Copyright (C) 2014 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, see +# <http://www.gnu.org/licenses/>. + +ifeq (yes,$(build-shared)) +$(objpfx)tst-timer: $(objpfx)librt.so $(shared-thread-library) +else +$(objpfx)tst-timer: $(objpfx)librt.a $(static-thread-library) +endif diff --git a/nptl/sysdeps/pthread/allocalim.h b/sysdeps/pthread/allocalim.h index 407d400..407d400 100644 --- a/nptl/sysdeps/pthread/allocalim.h +++ b/sysdeps/pthread/allocalim.h diff --git a/nptl/sysdeps/pthread/bits/sigthread.h b/sysdeps/pthread/bits/sigthread.h index 0048d7f..0048d7f 100644 --- a/nptl/sysdeps/pthread/bits/sigthread.h +++ b/sysdeps/pthread/bits/sigthread.h diff --git a/nptl/sysdeps/pthread/flockfile.c b/sysdeps/pthread/flockfile.c index da26824..da26824 100644 --- a/nptl/sysdeps/pthread/flockfile.c +++ b/sysdeps/pthread/flockfile.c diff --git a/nptl/sysdeps/pthread/ftrylockfile.c b/sysdeps/pthread/ftrylockfile.c index 7921d60..7921d60 100644 --- a/nptl/sysdeps/pthread/ftrylockfile.c +++ b/sysdeps/pthread/ftrylockfile.c diff --git a/nptl/sysdeps/pthread/funlockfile.c b/sysdeps/pthread/funlockfile.c index 2b367db..2b367db 100644 --- a/nptl/sysdeps/pthread/funlockfile.c +++ b/sysdeps/pthread/funlockfile.c diff --git a/nptl/sysdeps/pthread/posix-timer.h b/sysdeps/pthread/posix-timer.h index 1076110..1076110 100644 --- a/nptl/sysdeps/pthread/posix-timer.h +++ b/sysdeps/pthread/posix-timer.h diff --git a/nptl/sysdeps/pthread/timer_create.c b/sysdeps/pthread/timer_create.c index 461d28e..461d28e 100644 --- a/nptl/sysdeps/pthread/timer_create.c +++ b/sysdeps/pthread/timer_create.c diff --git a/nptl/sysdeps/pthread/timer_delete.c b/sysdeps/pthread/timer_delete.c index 99e4cc1..99e4cc1 100644 --- a/nptl/sysdeps/pthread/timer_delete.c +++ b/sysdeps/pthread/timer_delete.c diff --git a/nptl/sysdeps/pthread/timer_getoverr.c b/sysdeps/pthread/timer_getoverr.c index 159ebf2..159ebf2 100644 --- a/nptl/sysdeps/pthread/timer_getoverr.c +++ b/sysdeps/pthread/timer_getoverr.c diff --git a/nptl/sysdeps/pthread/timer_gettime.c b/sysdeps/pthread/timer_gettime.c index 1e0ea69..1e0ea69 100644 --- a/nptl/sysdeps/pthread/timer_gettime.c +++ b/sysdeps/pthread/timer_gettime.c diff --git a/nptl/sysdeps/pthread/timer_routines.c b/sysdeps/pthread/timer_routines.c index ce1aa41..ce1aa41 100644 --- a/nptl/sysdeps/pthread/timer_routines.c +++ b/sysdeps/pthread/timer_routines.c diff --git a/nptl/sysdeps/pthread/timer_settime.c b/sysdeps/pthread/timer_settime.c index 5d3c166..5d3c166 100644 --- a/nptl/sysdeps/pthread/timer_settime.c +++ b/sysdeps/pthread/timer_settime.c diff --git a/nptl/sysdeps/pthread/tst-timer.c b/sysdeps/pthread/tst-timer.c index 16adf3c..16adf3c 100644 --- a/nptl/sysdeps/pthread/tst-timer.c +++ b/sysdeps/pthread/tst-timer.c diff --git a/sysdeps/unix/sysv/linux/Implies b/sysdeps/unix/sysv/linux/Implies index b04bb6b..a579e63 100644 --- a/sysdeps/unix/sysv/linux/Implies +++ b/sysdeps/unix/sysv/linux/Implies @@ -1,3 +1,6 @@ +# All Linux builds use NPTL. +nptl + # The gnu subdirectory exists for things common to both Linux-based and # Hurd-based GNU systems. gnu diff --git a/nptl/sysdeps/pthread/pthread_sigmask.c b/sysdeps/unix/sysv/linux/pthread_sigmask.c index 21f0665..21f0665 100644 --- a/nptl/sysdeps/pthread/pthread_sigmask.c +++ b/sysdeps/unix/sysv/linux/pthread_sigmask.c |