diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-07-22 07:16:50 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-07-22 07:16:50 +0000 |
commit | f5faeff83458b4dc618ca83edd2dd33dbe63c15d (patch) | |
tree | bcb91681964a240a692a0a08a5164bcb969611e9 /libpthread/nptl/sysdeps/unix/sysv/linux/mips/pt-vfork.S | |
parent | 8a4b70a7f3d55ce8cdeba9775c7344c1a951bc79 (diff) | |
download | uClibc-alpine-f5faeff83458b4dc618ca83edd2dd33dbe63c15d.tar.bz2 uClibc-alpine-f5faeff83458b4dc618ca83edd2dd33dbe63c15d.tar.xz |
Add in MIPS-specific implementation of 'vfork' and clean up other files in NPTL to fit within the uClibc infrastructure.
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/mips/pt-vfork.S')
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/mips/pt-vfork.S | 7 |
1 files changed, 7 insertions, 0 deletions
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 <features.h> #include <tls.h> /* 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 |