diff options
author | Khem Raj <raj.khem@gmail.com> | 2010-05-19 15:59:50 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-05-19 15:59:50 -0700 |
commit | e029f5e73de2c195d0a87e5816f28fb09594e80f (patch) | |
tree | cc216c1fef966a29b349cb92edb597b66b2aef5b /libc/sysdeps/linux/mips/vfork.S | |
parent | be6735eb6ba46d1a21a421acdac26be8ec213062 (diff) |
mips: Add vfork to libc
* When using NPTL get clone.o from nptl.
* Only use vfork if syscall is there.
* Add libc_a_SSRC to LINUX_LIBC_ARCH_OBJ.
* Use CLEAN_* for clean target.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/mips/vfork.S')
-rw-r--r-- | libc/sysdeps/linux/mips/vfork.S | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/mips/vfork.S b/libc/sysdeps/linux/mips/vfork.S index 8400df052..b30744759 100644 --- a/libc/sysdeps/linux/mips/vfork.S +++ b/libc/sysdeps/linux/mips/vfork.S @@ -29,6 +29,7 @@ #define RESTORE_PID #endif +#ifdef __NR_fork /* int vfork() */ @@ -93,5 +94,7 @@ L(error): #endif END(__vfork) -.weak vfork; - vfork = __vfork +weak_alias(__vfork,vfork) +libc_hidden_weak(vfork) + +#endif |