From c06dab26652af40a8780790e48bcef1c64aaeb83 Mon Sep 17 00:00:00 2001 From: Andreas Schultz Date: Tue, 27 Apr 2010 08:43:43 -0700 Subject: nptl: mips needs updated clone() implementation Signed-off-by: Andreas Schultz Signed-off-by: Austin Foxley --- libpthread/nptl/sysdeps/unix/sysv/linux/mips/Makefile.arch | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/mips/Makefile.arch') diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/mips/Makefile.arch b/libpthread/nptl/sysdeps/unix/sysv/linux/mips/Makefile.arch index 8e7917bb0..3042cb480 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/mips/Makefile.arch +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/mips/Makefile.arch @@ -5,10 +5,11 @@ # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. # -libpthread_SSRC = pt-vfork.S +libpthread_SSRC = pt-vfork.S clone.S libpthread_CSRC = pthread_once.c pt-__syscall_rt_sigaction.c libc_a_CSRC = fork.c +libc_a_SSRC = clone.S vfork.S CFLAGS-OMIT-fork.c = -DNOT_IN_libc=1 -DIS_IN_libpthread=1 ifeq ($(UCLIBC_HAS_STDIO_FUTEXES),y) @@ -19,6 +20,9 @@ CFLAGS-pt-__syscall_rt_sigaction.c = -DNOT_IN_libc=1 -DIS_IN_libpthread=1 ASFLAGS-pt-vfork.S = -DNOT_IN_libc=1 -DIS_IN_libpthread=1 +ASFLAGS-clone.S = -D_LIBC_REENTRANT +ASFLAGS-vfork.S = -D_LIBC_REENTRANT + CFLAGS += $(SSP_ALL_CFLAGS) #CFLAGS:=$(CFLAGS:-O1=-O2) -- cgit v1.2.3