OSDN Git Service

libpthread: linuxthreads.old: Allow building for no-legacy-syscalls ABI
authorVineet Gupta <vgupta@synopsys.com>
Thu, 14 Mar 2013 12:21:25 +0000 (17:51 +0530)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 14 Mar 2013 21:27:19 +0000 (22:27 +0100)
Since NPTL port to an ARCH can be non-trivial, we must allow the legacy
pthread lib to be built for the common-generic syscall ABI

Note that only linuxthreads.old is allowed, since "newer" linuxthreads
relies on sysctl which the ABI no longer provides.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Cc: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
extra/Configs/Config.in

index bad8cf1..89b3dd4 100644 (file)
@@ -490,7 +490,6 @@ config HAS_NO_THREADS
 
 config LINUXTHREADS_OLD
        bool "older (stable) version of linuxthreads"
-       depends on ARCH_HAS_DEPRECATED_SYSCALLS
        # linuxthreads and linuxthreads.old need nanosleep()
        select UCLIBC_HAS_REALTIME
        help