diff options
Diffstat (limited to 'libc/sysdeps/linux/powerpc/vfork.S')
-rw-r--r-- | libc/sysdeps/linux/powerpc/vfork.S | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/powerpc/vfork.S b/libc/sysdeps/linux/powerpc/vfork.S index 5b4bcc069..a55b6fbc9 100644 --- a/libc/sysdeps/linux/powerpc/vfork.S +++ b/libc/sysdeps/linux/powerpc/vfork.S @@ -1,25 +1,32 @@ +/* + * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ #include <features.h> #include <sys/syscall.h> #ifndef __NR_vfork /* No vfork so use fork instead */ -strong_alias(fork,vfork) -strong_alias(vfork,__libc_fork) +strong_alias(fork,__libc_fork) +hidden_strong_alias(__libc_fork,__vfork) #else .text -.global vfork -.type vfork,@function +.global __vfork +.hidden __vfork +.type __vfork,@function .type __syscall_error,@function -vfork: +__vfork: li 0, __NR_vfork sc bnslr+ b __syscall_error -.size vfork,.-vfork +.size __vfork,.-__vfork #endif +weak_alias(__vfork,vfork) libc_hidden_def(vfork) |