also add a missing weak for clone
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
call HIDDEN_JUMPTARGET(_exit)
.size clone,.-clone
+weak_alias(clone, __clone)
libpthread_CSRC := $(filter-out $(SH_PTHREAD_EXCLUDE_LIST),$(libpthread_CSRC))
endif
-ifeq ($(TARGET_ARCH),x86_64)
-libpthread_CSRC += pthread_once.c
-endif
-
CFLAGS-pt-common = -DNOT_IN_libc=1 $(SSP_ALL_CFLAGS)
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#include <sysdep.h>
+
#ifndef UP
# define LOCK lock
#else