diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-06-12 10:08:24 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-06-12 10:08:24 -0700 |
commit | f6b07b3d48eb1d28d033b2c342a8a5571dca2e18 (patch) | |
tree | b17d612816248611d12d049466a5b524d32f97a0 | |
parent | 45262aeedf2f56dcd3b30e37630ea85bb4f55603 (diff) | |
download | glibc-f6b07b3d48eb1d28d033b2c342a8a5571dca2e18.tar.gz glibc-f6b07b3d48eb1d28d033b2c342a8a5571dca2e18.tar.xz glibc-f6b07b3d48eb1d28d033b2c342a8a5571dca2e18.zip |
Move i386 code out of nptl/ subdirectory.
-rw-r--r-- | ChangeLog | 28 | ||||
-rw-r--r-- | nptl/sysdeps/i386/i586/pthread_spin_trylock.S | 19 | ||||
-rw-r--r-- | sysdeps/i386/i486/nptl/pthread_spin_trylock.S (renamed from nptl/sysdeps/i386/i486/pthread_spin_trylock.S) | 0 | ||||
-rw-r--r-- | sysdeps/i386/i586/nptl/pthread_spin_trylock.S | 1 | ||||
-rw-r--r-- | sysdeps/i386/i686/nptl/Makefile (renamed from nptl/sysdeps/i386/i686/Makefile) | 0 | ||||
-rw-r--r-- | sysdeps/i386/i686/nptl/pthread_spin_trylock.S (renamed from nptl/sysdeps/i386/i686/pthread_spin_trylock.S) | 2 | ||||
-rw-r--r-- | sysdeps/i386/i686/nptl/tls.h (renamed from nptl/sysdeps/i386/i686/tls.h) | 2 | ||||
-rw-r--r-- | sysdeps/i386/nptl/Makefile (renamed from nptl/sysdeps/i386/Makefile) | 0 | ||||
-rw-r--r-- | sysdeps/i386/nptl/pthread_spin_init.c (renamed from nptl/sysdeps/i386/pthread_spin_init.c) | 0 | ||||
-rw-r--r-- | sysdeps/i386/nptl/pthread_spin_lock.S (renamed from nptl/sysdeps/i386/pthread_spin_lock.S) | 0 | ||||
-rw-r--r-- | sysdeps/i386/nptl/pthread_spin_unlock.S (renamed from nptl/sysdeps/i386/pthread_spin_unlock.S) | 0 | ||||
-rw-r--r-- | sysdeps/i386/nptl/pthreaddef.h (renamed from nptl/sysdeps/i386/pthreaddef.h) | 0 | ||||
-rw-r--r-- | sysdeps/i386/nptl/tcb-offsets.sym (renamed from nptl/sysdeps/i386/tcb-offsets.sym) | 0 | ||||
-rw-r--r-- | sysdeps/i386/nptl/tls.h (renamed from nptl/sysdeps/i386/tls.h) | 0 | ||||
-rw-r--r-- | sysdeps/x86_64/nptl/pthread_spin_init.c | 2 |
15 files changed, 32 insertions, 22 deletions
diff --git a/ChangeLog b/ChangeLog index 606a889048..b3097e99b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,33 @@ 2014-06-12 Roland McGrath <roland@hack.frob.com> + * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ... + * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here. + * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ... + * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here. + Update #include target. + * nptl/sysdeps/i386/i686/Makefile: Moved ... + * sysdeps/i386/i686/nptl/Makefile: ... here. + * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ... + * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here. + Update #include target. + * nptl/sysdeps/i386/i686/tls.h: Moved ... + * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next. + * nptl/sysdeps/i386/Makefile: Moved ... + * sysdeps/i386/nptl/Makefile: ... here. + * nptl/sysdeps/i386/pthread_spin_init.c: Moved ... + * sysdeps/i386/nptl/pthread_spin_init.c: ... here. + * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target. + * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ... + * sysdeps/i386/nptl/pthread_spin_lock.S: ... here. + * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ... + * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here. + * nptl/sysdeps/i386/pthreaddef.h: Moved ... + * sysdeps/i386/nptl/pthreaddef.h: ... here. + * nptl/sysdeps/i386/tcb-offsets.sym: Moved ... + * sysdeps/i386/nptl/tcb-offsets.sym: ... here. + * nptl/sysdeps/i386/tls.h: Moved ... + * sysdeps/i386/nptl/tls.h: ... here. + * sysdeps/sh/Makefile [$(subdir) = csu] (gen-as-const-headers): Add tcb-offsets.sym. * nptl/sysdeps/sh/Makefile: File removed. diff --git a/nptl/sysdeps/i386/i586/pthread_spin_trylock.S b/nptl/sysdeps/i386/i586/pthread_spin_trylock.S deleted file mode 100644 index 9afe82ae7f..0000000000 --- a/nptl/sysdeps/i386/i586/pthread_spin_trylock.S +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright (C) 2002-2014 Free Software Foundation, Inc. - This file is part of the GNU C Library. - Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. - - 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/>. */ - -#include "../i486/pthread_spin_trylock.S" diff --git a/nptl/sysdeps/i386/i486/pthread_spin_trylock.S b/sysdeps/i386/i486/nptl/pthread_spin_trylock.S index 0bcc0c6ede..0bcc0c6ede 100644 --- a/nptl/sysdeps/i386/i486/pthread_spin_trylock.S +++ b/sysdeps/i386/i486/nptl/pthread_spin_trylock.S diff --git a/sysdeps/i386/i586/nptl/pthread_spin_trylock.S b/sysdeps/i386/i586/nptl/pthread_spin_trylock.S new file mode 100644 index 0000000000..a0c90b5913 --- /dev/null +++ b/sysdeps/i386/i586/nptl/pthread_spin_trylock.S @@ -0,0 +1 @@ +#include <sysdeps/i386/i486/nptl/pthread_spin_trylock.S> diff --git a/nptl/sysdeps/i386/i686/Makefile b/sysdeps/i386/i686/nptl/Makefile index 8f42463a9b..8f42463a9b 100644 --- a/nptl/sysdeps/i386/i686/Makefile +++ b/sysdeps/i386/i686/nptl/Makefile diff --git a/nptl/sysdeps/i386/i686/pthread_spin_trylock.S b/sysdeps/i386/i686/nptl/pthread_spin_trylock.S index 0ad3d1146b..d02f490986 100644 --- a/nptl/sysdeps/i386/i686/pthread_spin_trylock.S +++ b/sysdeps/i386/i686/nptl/pthread_spin_trylock.S @@ -17,4 +17,4 @@ <http://www.gnu.org/licenses/>. */ #define HAVE_CMOV 1 -#include "../i486/pthread_spin_trylock.S" +#include <sysdeps/i386/i486/nptl/pthread_spin_trylock.S> diff --git a/nptl/sysdeps/i386/i686/tls.h b/sysdeps/i386/i686/nptl/tls.h index 60bf9e152d..71e769e61c 100644 --- a/nptl/sysdeps/i386/i686/tls.h +++ b/sysdeps/i386/i686/nptl/tls.h @@ -30,6 +30,6 @@ /* Get the full set of definitions. */ -#include "../tls.h" +#include_next <tls.h> #endif /* tls.h */ diff --git a/nptl/sysdeps/i386/Makefile b/sysdeps/i386/nptl/Makefile index 92f9c2418a..92f9c2418a 100644 --- a/nptl/sysdeps/i386/Makefile +++ b/sysdeps/i386/nptl/Makefile diff --git a/nptl/sysdeps/i386/pthread_spin_init.c b/sysdeps/i386/nptl/pthread_spin_init.c index 279fc9a5a6..279fc9a5a6 100644 --- a/nptl/sysdeps/i386/pthread_spin_init.c +++ b/sysdeps/i386/nptl/pthread_spin_init.c diff --git a/nptl/sysdeps/i386/pthread_spin_lock.S b/sysdeps/i386/nptl/pthread_spin_lock.S index b645fffb9a..b645fffb9a 100644 --- a/nptl/sysdeps/i386/pthread_spin_lock.S +++ b/sysdeps/i386/nptl/pthread_spin_lock.S diff --git a/nptl/sysdeps/i386/pthread_spin_unlock.S b/sysdeps/i386/nptl/pthread_spin_unlock.S index 39100d2568..39100d2568 100644 --- a/nptl/sysdeps/i386/pthread_spin_unlock.S +++ b/sysdeps/i386/nptl/pthread_spin_unlock.S diff --git a/nptl/sysdeps/i386/pthreaddef.h b/sysdeps/i386/nptl/pthreaddef.h index bf00c00738..bf00c00738 100644 --- a/nptl/sysdeps/i386/pthreaddef.h +++ b/sysdeps/i386/nptl/pthreaddef.h diff --git a/nptl/sysdeps/i386/tcb-offsets.sym b/sysdeps/i386/nptl/tcb-offsets.sym index 69f9deb368..69f9deb368 100644 --- a/nptl/sysdeps/i386/tcb-offsets.sym +++ b/sysdeps/i386/nptl/tcb-offsets.sym diff --git a/nptl/sysdeps/i386/tls.h b/sysdeps/i386/nptl/tls.h index ac9c9a22f9..ac9c9a22f9 100644 --- a/nptl/sysdeps/i386/tls.h +++ b/sysdeps/i386/nptl/tls.h diff --git a/sysdeps/x86_64/nptl/pthread_spin_init.c b/sysdeps/x86_64/nptl/pthread_spin_init.c index 55696204c1..f249c6fef5 100644 --- a/sysdeps/x86_64/nptl/pthread_spin_init.c +++ b/sysdeps/x86_64/nptl/pthread_spin_init.c @@ -1 +1 @@ -#include "../i386/pthread_spin_init.c" +#include <sysdeps/i386/nptl/pthread_spin_init.c> |