use a single libc and deduplicate threading code
commit29ff9055c80efe77a7130767a9fcb3ab8c67e8ce
authorWaldemar Brodkorb <wbx@uclibc-ng.org>
Sat, 24 Sep 2016 00:55:31 +0000 (24 02:55 +0200)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>
Mon, 26 Sep 2016 18:23:24 +0000 (26 20:23 +0200)
treeb061656c1336d7d73ed5eef59352e3d50d8147a7
parentb06f85d62c41a4ed108628b1c564203f36c0ab4e
use a single libc and deduplicate threading code

Similar to musl libc a single libc has many benefits and solves
some open issues with uClibc-ng.

- no pthread_mutex_* weak symbols exported anymore
- applications no longer failing to link when either
  -lrt or -lpthread are missing for dynamic and static linking mode
- smaller C library
- slightly better runtime performance
77 files changed:
Makefile.in
Rules.mak
ldso/ldso/arm/dl-syscalls.h
ldso/ldso/fdpic/dl-inlines.h
ldso/libdl/Makefile.in
libc/Makefile.in
libc/misc/internals/__uClibc_main.c
libc/signal/Makefile.in
libc/sysdeps/linux/arm/Makefile.arch
libc/sysdeps/linux/arm/libc-thumb_atomics.S [deleted file]
libc/sysdeps/linux/common/Makefile.in
libc/sysdeps/linux/i386/Makefile.arch
libcrypt/Makefile.in
libintl/Makefile.in
libm/Makefile.in
libnsl/Makefile.in
libpthread/linuxthreads/Makefile.in
libpthread/linuxthreads/forward.c [deleted file]
libpthread/linuxthreads/internals.h
libpthread/linuxthreads/libc_pthread_init.c
libpthread/linuxthreads/manager.c
libpthread/linuxthreads/pthread.c
libpthread/linuxthreads/sysdeps/pthread/bits/libc-lock.h
libpthread/linuxthreads/sysdeps/pthread/pthread-functions.h [deleted file]
libpthread/nptl/Makefile.in
libpthread/nptl/forward.c [deleted file]
libpthread/nptl/init.c
libpthread/nptl/pt-system.c [deleted file]
libpthread/nptl/pthreadP.h
libpthread/nptl/pthread_setgid.c [deleted file]
libpthread/nptl/pthread_setuid.c [deleted file]
libpthread/nptl/res.c [deleted file]
libpthread/nptl/sysdeps/arm/Makefile.arch
libpthread/nptl/sysdeps/arm/aeabi_read_tp.S [deleted file]
libpthread/nptl/sysdeps/arm/thumb_atomics.S [deleted file]
libpthread/nptl/sysdeps/metag/metag_load_tp.S [deleted file]
libpthread/nptl/sysdeps/mips/nptl-sysdep.S [deleted file]
libpthread/nptl/sysdeps/pthread/Makefile.in
libpthread/nptl/sysdeps/pthread/bits/libc-lock.h
libpthread/nptl/sysdeps/pthread/pt-initfini.c [deleted file]
libpthread/nptl/sysdeps/pthread/pt-sigaction.c
libpthread/nptl/sysdeps/pthread/pthread-functions.h [deleted file]
libpthread/nptl/sysdeps/pthread/setxid.h
libpthread/nptl/sysdeps/pthread/uClibc-glue.h
libpthread/nptl/sysdeps/unix/sysv/linux/Makefile.commonarch
libpthread/nptl/sysdeps/unix/sysv/linux/arc/Makefile.arch
libpthread/nptl/sysdeps/unix/sysv/linux/arc/pt-__syscall_error.c [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/arc/pt-__syscall_rt_sigaction.c [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch
libpthread/nptl/sysdeps/unix/sysv/linux/arm/pt-__syscall_error.c [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/arm/pt-__syscall_rt_sigaction.c [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/i386/Makefile.arch
libpthread/nptl/sysdeps/unix/sysv/linux/i386/pt-__syscall_error.c [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c
libpthread/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c
libpthread/nptl/sysdeps/unix/sysv/linux/metag/Makefile.arch
libpthread/nptl/sysdeps/unix/sysv/linux/metag/pt-__syscall_error.c [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/metag/pt-__syscall_rt_sigaction.c [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/mips/Makefile.arch
libpthread/nptl/sysdeps/unix/sysv/linux/mips/pt-__syscall_rt_sigaction.c [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/Makefile.arch
libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/pt-__syscall_error.c [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/pt-sigwait.c [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/sh/pt-initfini.c [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/sparc/Makefile.arch
libpthread/nptl/sysdeps/unix/sysv/linux/sparc/pt-__syscall_error.c [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile.arch
libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pt-__syscall_error.c [deleted file]
libpthread/nptl/sysdeps/unix/sysv/linux/xtensa/Makefile.arch
libpthread/nptl/sysdeps/unix/sysv/linux/xtensa/pt-initfini.c [deleted file]
libpthread/nptl/sysdeps/xtensa/Makefile.arch
libresolv/Makefile.in
librt/Makefile.in
libuargp/Makefile.in
libubacktrace/Makefile.in
libutil/Makefile.in
test/argp/Makefile.in