glibc/sysdeps/pthread
Joseph Myers fc00cf7bcd Move semaphore.h to sysdeps/pthread/.
Carlos reported failures in conform/ tests in environments where the
compiler used could only find headers in glibc's source and build
trees, not any previously installed headers
<https://sourceware.org/ml/libc-alpha/2014-09/msg00040.html>.

This patch moves nptl/semaphore.h to sysdeps/pthread/semaphore.h so
that it can be found by builds from all glibc subdirectories; it's not
in any way NPTL-specific.  (I left the Makefile setting to install
this header in nptl/, but maybe it should move as well - it's just not
clear to me what ifeq ($(subdir),...) conditional should be used to
select the directory to associate the header with for installation
purposes.  The path in the toplevel Makefile used for begin-end-check
also remains hardcoded; it's a known todo issue to rework that test to
run in each subdirectory checking the headers installed from that
subdirectory, rather than a separate hardcoded list.)

Tested for x86_64 (testsuite, and that installed stripped shared
libraries are unchanged by the patch).  I did *not* test a
configuration such as that in which Carlos saw failure.

	* nptl/semaphore.h: Move to ...
	* sysdeps/pthread/semaphore.h: ... here.
	* Makefile (installed-headers): Change nptl/semaphore.h to
	sysdeps/pthread/semaphore.h.
2014-12-11 22:58:48 +00:00
..
bits Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00
Makeconfig Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO. 2012-08-17 09:35:15 -07:00
Makefile Restore subdir conditional for tst-timer dependency. 2014-07-03 18:52:51 -07:00
Versions
aio_cancel.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
aio_fsync.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
aio_misc.c Fix pthreads getrlimit, gettimeofday namespace (bug 17682). 2014-12-06 23:40:48 +00:00
aio_misc.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
aio_notify.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
aio_read.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
aio_read64.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
aio_suspend.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
aio_write.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
aio_write64.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
allocalim.h Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00
flockfile.c Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00
ftrylockfile.c Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00
funlockfile.c Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00
lio_listio.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
lio_listio64.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
posix-timer.h Use list.h in posix-timer code. 2014-06-12 14:17:14 -07:00
semaphore.h Move semaphore.h to sysdeps/pthread/. 2014-12-11 22:58:48 +00:00
timer_create.c Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00
timer_delete.c Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00
timer_getoverr.c Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00
timer_gettime.c Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00
timer_routines.c Use list.h in posix-timer code. 2014-06-12 14:17:14 -07:00
timer_settime.c Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00
tst-timer.c Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00