From 6a8ccc95528f5e86a8770ed15ce89609b5b3dee9 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 18 May 2016 18:41:24 +0200 Subject: remove linuxthreads.new, rename linuxthreads.old Linuxthreads.new isn't really useful with the existence of NPTL/TLS for well supported architectures. There is no reason to use LT.new for ARM/MIPS or other architectures supporting NPTL/TLS. It is not available for noMMU architectures like Blackfin or FR-V. To simplify the live of the few uClibc-ng developers, LT.new is removed and LT.old is renamed to LT. LINUXTHREADS_OLD -> UCLIBC_HAS_LINUXTHREADS --- libc/unistd/confstr.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libc/unistd') diff --git a/libc/unistd/confstr.c b/libc/unistd/confstr.c index 373644265..4d4c217e5 100644 --- a/libc/unistd/confstr.c +++ b/libc/unistd/confstr.c @@ -43,12 +43,9 @@ size_t confstr (int name, char *buf, size_t len) break; #ifdef __UCLIBC_HAS_THREADS__ case _CS_GNU_LIBPTHREAD_VERSION: -# if defined __LINUXTHREADS_OLD__ +# if defined __UCLIBC_HAS_LINUXTHREADS__ string = "linuxthreads-0.01"; string_len = sizeof("linuxthreads-x.xx"); -# elif defined __LINUXTHREADS_NEW__ - string = "linuxthreads-0.10"; - string_len = sizeof("linuxthreads-x.xx"); # elif defined __UCLIBC_HAS_THREADS_NATIVE__ # define __NPTL_VERSION ("NPTL " \ __stringify(__UCLIBC_MAJOR__) "." \ -- cgit v1.2.3