diff options
Diffstat (limited to 'libc/sysdeps/linux/bfin/vfork.S')
-rw-r--r-- | libc/sysdeps/linux/bfin/vfork.S | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/libc/sysdeps/linux/bfin/vfork.S b/libc/sysdeps/linux/bfin/vfork.S index 1f9539c55..014e5cfae 100644 --- a/libc/sysdeps/linux/bfin/vfork.S +++ b/libc/sysdeps/linux/bfin/vfork.S @@ -1,12 +1,21 @@ +/* + * 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 <asm/unistd.h> - .text - .globl _vfork - .globl __libc_vfork - .type _vfork,STT_FUNC; - .align 4 -__libc_vfork: -_vfork: + +.text +.global ___vfork +.hidden ___vfork +.type ___vfork,STT_FUNC; +.align 4 +___vfork: p0 = __NR_vfork; excpt 0; rts; +.size ___vfork,.-___vfork +weak_alias(__vfork,vfork) +libc_hidden_weak(vfork) |