about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2018-07-25 13:20:15 +0000
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2018-07-25 12:02:32 -0300
commit9faaf9385034ac71f308643de1afc91b5dd731aa (patch)
treeffd93d4a7113e1aacecc8de0d7ec4c320587d9fa /include
parentd6b8f8470990db2d36b8e50f1055a673fdf1cea0 (diff)
downloadglibc-9faaf9385034ac71f308643de1afc91b5dd731aa.tar.gz
glibc-9faaf9385034ac71f308643de1afc91b5dd731aa.tar.xz
glibc-9faaf9385034ac71f308643de1afc91b5dd731aa.zip
Fix C11 conformance issues
Remove conformace assumption of NPTL implementation for ISO C threads
and revert wrong libcrypt addition on linknamespace-libs-XPG4.

The i686-gnu target now shows two new conformance failures:

FAIL: conform/ISO11/threads.h/conform
FAIL: conform/ISO11/threads.h/linknamespace

It is expected due missing HTL ISO C threads support and both conformance
.out files indicates the reason ("#error "HTL does not implement ISO C
threads").

Checked on i686-linux-gnu and i686-gnu.

	* include/threads.h: Move to ...
	* sysdeps/nptl/threads.h: ... here.
	* sysdeps/htl/threads.h: New file.
	* conform/Makefile (linknamespace-libs-ISO11): Use
	static-thread-library instead of linking libpthread.
	(linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
Diffstat (limited to 'include')
-rw-r--r--include/threads.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/threads.h b/include/threads.h
deleted file mode 100644
index 1090612837..0000000000
--- a/include/threads.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <nptl/threads.h>