]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Get rid of nptl/sysdeps/pthread/ subdirectory
authorRoland McGrath <roland@hack.frob.com>
Thu, 12 Jun 2014 20:48:47 +0000 (13:48 -0700)
committerRoland McGrath <roland@hack.frob.com>
Thu, 12 Jun 2014 20:48:47 +0000 (13:48 -0700)
40 files changed:
ChangeLog
include/list.h [moved from nptl/sysdeps/pthread/list.h with 100% similarity]
nptl/createthread.c [moved from nptl/sysdeps/pthread/createthread.c with 100% similarity]
nptl/pt-longjmp.c [moved from nptl/sysdeps/pthread/pt-longjmp.c with 100% similarity]
nptl/sysdeps/unix/sysv/linux/createthread.c
sysdeps/nptl/Implies [moved from nptl/sysdeps/unix/sysv/linux/Implies with 100% similarity]
sysdeps/nptl/Makefile [moved from nptl/sysdeps/pthread/Makefile with 88% similarity]
sysdeps/nptl/Subdirs [moved from nptl/sysdeps/pthread/Subdirs with 100% similarity]
sysdeps/nptl/aio_misc.h [moved from nptl/sysdeps/pthread/aio_misc.h with 100% similarity]
sysdeps/nptl/bits/libc-lock.h [moved from nptl/sysdeps/pthread/bits/libc-lock.h with 100% similarity]
sysdeps/nptl/bits/libc-lockP.h [moved from nptl/sysdeps/pthread/bits/libc-lockP.h with 100% similarity]
sysdeps/nptl/bits/stdio-lock.h [moved from nptl/sysdeps/pthread/bits/stdio-lock.h with 100% similarity]
sysdeps/nptl/configure [moved from nptl/sysdeps/pthread/configure with 100% similarity]
sysdeps/nptl/configure.ac [moved from nptl/sysdeps/pthread/configure.ac with 100% similarity]
sysdeps/nptl/gai_misc.h [moved from nptl/sysdeps/pthread/gai_misc.h with 100% similarity]
sysdeps/nptl/librt-cancellation.c [moved from nptl/sysdeps/pthread/librt-cancellation.c with 100% similarity]
sysdeps/nptl/malloc-machine.h [moved from nptl/sysdeps/pthread/malloc-machine.h with 100% similarity]
sysdeps/nptl/pthread-functions.h [moved from nptl/sysdeps/pthread/pthread-functions.h with 100% similarity]
sysdeps/nptl/pthread.h [moved from nptl/sysdeps/pthread/pthread.h with 100% similarity]
sysdeps/nptl/setxid.h [moved from nptl/sysdeps/pthread/setxid.h with 100% similarity]
sysdeps/nptl/sigfillset.c [moved from nptl/sysdeps/pthread/sigfillset.c with 100% similarity]
sysdeps/nptl/tcb-offsets.h [moved from nptl/sysdeps/pthread/tcb-offsets.h with 100% similarity]
sysdeps/nptl/tst-mqueue8x.c [moved from nptl/sysdeps/pthread/tst-mqueue8x.c with 100% similarity]
sysdeps/nptl/unwind-forcedunwind.c [moved from nptl/sysdeps/pthread/unwind-forcedunwind.c with 100% similarity]
sysdeps/pthread/Makefile [new file with mode: 0644]
sysdeps/pthread/allocalim.h [moved from nptl/sysdeps/pthread/allocalim.h with 100% similarity]
sysdeps/pthread/bits/sigthread.h [moved from nptl/sysdeps/pthread/bits/sigthread.h with 100% similarity]
sysdeps/pthread/flockfile.c [moved from nptl/sysdeps/pthread/flockfile.c with 100% similarity]
sysdeps/pthread/ftrylockfile.c [moved from nptl/sysdeps/pthread/ftrylockfile.c with 100% similarity]
sysdeps/pthread/funlockfile.c [moved from nptl/sysdeps/pthread/funlockfile.c with 100% similarity]
sysdeps/pthread/posix-timer.h [moved from nptl/sysdeps/pthread/posix-timer.h with 100% similarity]
sysdeps/pthread/timer_create.c [moved from nptl/sysdeps/pthread/timer_create.c with 100% similarity]
sysdeps/pthread/timer_delete.c [moved from nptl/sysdeps/pthread/timer_delete.c with 100% similarity]
sysdeps/pthread/timer_getoverr.c [moved from nptl/sysdeps/pthread/timer_getoverr.c with 100% similarity]
sysdeps/pthread/timer_gettime.c [moved from nptl/sysdeps/pthread/timer_gettime.c with 100% similarity]
sysdeps/pthread/timer_routines.c [moved from nptl/sysdeps/pthread/timer_routines.c with 100% similarity]
sysdeps/pthread/timer_settime.c [moved from nptl/sysdeps/pthread/timer_settime.c with 100% similarity]
sysdeps/pthread/tst-timer.c [moved from nptl/sysdeps/pthread/tst-timer.c with 100% similarity]
sysdeps/unix/sysv/linux/Implies
sysdeps/unix/sysv/linux/pthread_sigmask.c [moved from nptl/sysdeps/pthread/pthread_sigmask.c with 100% similarity]

index 0f66198d68025d928a0c611cf3f8bf1b0dd43b2e..cff531567ba18871fe2d6c31bf396755baec04e6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
 
similarity index 100%
rename from nptl/sysdeps/pthread/list.h
rename to include/list.h
index c2f09025b482a5162d85e4387669db902d08a7a7..9a21f3997ac4a1d8e468750c5e53f1a82e978e47 100644 (file)
@@ -20,4 +20,4 @@
 #define TLS_VALUE pd
 
 /* Get the real implementation.         */
-#include <nptl/sysdeps/pthread/createthread.c>
+#include <nptl/createthread.c>
similarity index 88%
rename from nptl/sysdeps/pthread/Makefile
rename to sysdeps/nptl/Makefile
index 60d525e9d7b5a4dc13f872d93e38588663685936..bedf39b90625d383b1485edb0e6f651cd21471d6 100644 (file)
@@ -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/sysdeps/pthread/Makefile b/sysdeps/pthread/Makefile
new file mode 100644 (file)
index 0000000..1080dc9
--- /dev/null
@@ -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
index b04bb6b33d9c193cd4529985f7e53d8b3a82bb0a..a579e634ae45397875d9a4f791ece83bc7277f6b 100644 (file)
@@ -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