From f5faeff83458b4dc618ca83edd2dd33dbe63c15d Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Fri, 22 Jul 2005 07:16:50 +0000 Subject: Add in MIPS-specific implementation of 'vfork' and clean up other files in NPTL to fit within the uClibc infrastructure. --- libpthread/nptl/sysdeps/unix/sysv/linux/mips/pt-vfork.S | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/mips') diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/mips/pt-vfork.S b/libpthread/nptl/sysdeps/unix/sysv/linux/mips/pt-vfork.S index fe2b81bc1..f82504329 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/mips/pt-vfork.S +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/mips/pt-vfork.S @@ -16,6 +16,7 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#include #include /* Save the PID value. */ @@ -34,4 +35,10 @@ sw a2, PID_OFFSET(v1); /* Restore the PID. */ \ 1: +#ifdef __UCLIBC__ +#undef weak_alias +#define weak_alias(name, aliasname) +#include <../../../../../../../libc/sysdeps/linux/mips/vfork.S> +#else #include <../sysdeps/unix/sysv/linux/mips/vfork.S> +#endif -- cgit v1.2.3