From 29ff9055c80efe77a7130767a9fcb3ab8c67e8ce Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 24 Sep 2016 02:55:31 +0200 Subject: 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 --- libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile.arch | 2 +- libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pt-__syscall_error.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pt-__syscall_error.c (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/x86_64') diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile.arch b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile.arch index b49db548f..b48f4cb0b 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile.arch +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile.arch @@ -11,7 +11,7 @@ libpthread_linux_arch_SSRC = clone.S pthread_once.S \ sem_trywait.S sem_wait.S pthread_rwlock_rdlock.S pthread_rwlock_wrlock.S \ pthread_rwlock_timedrdlock.S pthread_rwlock_timedwrlock.S pthread_rwlock_unlock.S \ pthread_spin_unlock.S cancellation.S -libpthread_linux_arch_CSRC = pthread_spin_init.c pt-__syscall_error.c +libpthread_linux_arch_CSRC = pthread_spin_init.c libc_linux_arch_CSRC = fork.c libc_linux_arch_SSRC = clone.S vfork.S libc-cancellation.S libc-lowlevellock.S diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pt-__syscall_error.c b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pt-__syscall_error.c deleted file mode 100644 index 2ab81490c..000000000 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pt-__syscall_error.c +++ /dev/null @@ -1 +0,0 @@ -#include <../../../../../../../libc/sysdeps/linux/x86_64/__syscall_error.c> -- cgit v1.2.3