threads: optimize single threaded applications
commit5ca03df6978345c297225212cc0ca33d476b0272
authorWaldemar Brodkorb <wbx@openadk.org>
Wed, 7 Dec 2016 06:56:44 +0000 (7 07:56 +0100)
committerWaldemar Brodkorb <wbx@openadk.org>
Sat, 10 Dec 2016 14:14:33 +0000 (10 15:14 +0100)
tree873ea7e2b6d2202dd01bf27be9d5b3b5ab24c7a2
parent6579597083e608f5a66fe8a898d113c2588e2c8f
threads: optimize single threaded applications

Revert the removal of the weak pthread functions and
guarantee a link order so that single threaded applications
doesn't link in all the pthread functions they don't use.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Tested-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
libc/misc/internals/Makefile.in
libc/misc/internals/__uClibc_main.c