glibc/sysdeps
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
..
aarch64 [AArch64] Fix strchrnul clobbering v15 2014-12-10 09:54:09 +00:00
alpha Remove IS_IN_rtld 2014-11-24 11:41:48 +05:30
arm Remove NOT_IN_libc 2014-11-24 15:03:45 +05:30
generic Remove NOT_IN_libc 2014-11-24 15:03:45 +05:30
gnu Fix getifaddrs, freeifaddrs namespace (bug 17668). 2014-12-02 23:11:09 +00:00
hppa Don't use INTDEF/INTUSE with _dl_init (bug 14132). 2014-11-04 23:26:39 +00:00
i386 Fix strftime wcschr namespace (bug 17634). 2014-12-10 16:59:02 +00:00
ia64 Remove NOT_IN_libc 2014-11-24 15:03:45 +05:30
ieee754 powerpc: Fix lgammal_r overflow warnings 2014-12-11 07:17:11 -05:00
init_array Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
m68k Remove IS_IN_rtld 2014-11-24 11:41:48 +05:30
mach Fix pthreads getrlimit, gettimeofday namespace (bug 17682). 2014-12-06 23:40:48 +00:00
microblaze microblaze: 64b atomic operations are not supported. 2014-11-21 14:09:21 +01:00
mips * sysdeps/mips/dl-trampoline.c: Modify switch expression to have 2014-12-11 10:23:01 -08:00
nptl Don't touch user-controlled stdio locks in forked child (bug 12847) 2014-12-10 15:58:22 +01:00
posix Remove NOT_IN_libc 2014-11-24 15:03:45 +05:30
powerpc Fix strftime wcschr namespace (bug 17634). 2014-12-10 16:59:02 +00:00
pthread Move semaphore.h to sysdeps/pthread/. 2014-12-11 22:58:48 +00:00
s390 S/390: Get rid of assembler warning value truncated. 2014-12-11 17:02:24 +01:00
sh Remove IS_IN_rtld 2014-11-24 11:41:48 +05:30
sparc Remove NOT_IN_libc 2014-11-24 15:03:45 +05:30
tile tile: add inhibit_loop_to_libcall to string functions 2014-12-11 15:13:48 -05:00
unix Properly handle forced elision in pthread_mutex_trylock (bug 16657) 2014-12-11 12:44:27 +01:00
wordsize-32 Remove NOT_IN_libc 2014-11-24 15:03:45 +05:30
wordsize-64 Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
x86 Recognize recent x86 CPUs in string.h 2014-11-27 17:21:12 +01:00
x86_64 Fix strftime wcschr namespace (bug 17634). 2014-12-10 16:59:02 +00:00