aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--conform/Makefile5
-rw-r--r--sysdeps/htl/threads.h1
-rw-r--r--sysdeps/nptl/threads.h (renamed from include/threads.h)0
4 files changed, 12 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index a7fcb6dfb2..f6aa73550b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
+
+ * 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.
+
2018-07-25 Florian Weimer <fweimer@redhat.com>
* nptl/tst-mtx-timedlock.c (do_test): Implement carry from
diff --git a/conform/Makefile b/conform/Makefile
index a0ab70e302..d43093171b 100644
--- a/conform/Makefile
+++ b/conform/Makefile
@@ -197,9 +197,8 @@ linknamespace-libs-xsi = $(linknamespace-libs-posix)
linknamespace-libs-ISO = $(linknamespace-libs-isoc)
linknamespace-libs-ISO99 = $(linknamespace-libs-isoc)
linknamespace-libs-ISO11 = $(linknamespace-libs-isoc) \
- $(common-objpfx)nptl/libpthread.a
-linknamespace-libs-XPG4 = $(linknamespace-libs-isoc) \
- $(common-objpfx)crypt/libcrypt.a
+ $(static-thread-library)
+linknamespace-libs-XPG4 = $(linknamespace-libs-isoc)
linknamespace-libs-XPG42 = $(linknamespace-libs-XPG4)
linknamespace-libs-POSIX = $(linknamespace-libs-thr)
linknamespace-libs-UNIX98 = $(linknamespace-libs-xsi)
diff --git a/sysdeps/htl/threads.h b/sysdeps/htl/threads.h
new file mode 100644
index 0000000000..3c04fbcc79
--- /dev/null
+++ b/sysdeps/htl/threads.h
@@ -0,0 +1 @@
+#error "HTL does not implement ISO C threads"
diff --git a/include/threads.h b/sysdeps/nptl/threads.h
index 1090612837..1090612837 100644
--- a/include/threads.h
+++ b/sysdeps/nptl/threads.h