|
@@ -1,14 +1,14 @@
|
|
|
/*
|
|
/*
|
|
|
* libc/sysdeps/linux/microblaze/vfork.S -- `vfork' syscall for linux/microblaze
|
|
* libc/sysdeps/linux/microblaze/vfork.S -- `vfork' syscall for linux/microblaze
|
|
|
*
|
|
*
|
|
|
- * Copyright (C) 2003 John Williams <jwilliams@itee.uq.edu.au>
|
|
|
|
|
- * Copyright (C) 2001 NEC Corporation
|
|
|
|
|
- * Copyright (C) 2001 Miles Bader <miles@gnu.org>
|
|
|
|
|
|
|
+ * Copyright (C) 2001 NEC Corporation
|
|
|
|
|
+ * Copyright (C) 2001 Miles Bader <miles@gnu.org>
|
|
|
|
|
+ * Copyright (C) 2003 John Williams <jwilliams@itee.uq.edu.au>
|
|
|
|
|
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
|
|
|
*
|
|
*
|
|
|
- * This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
|
- * General Public License. See the file COPYING.LIB in the main
|
|
|
|
|
- * directory of this archive for more details.
|
|
|
|
|
- *
|
|
|
|
|
|
|
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
|
|
|
|
|
+ */
|
|
|
|
|
+/*
|
|
|
* Written by Miles Bader <miles@gnu.org>
|
|
* Written by Miles Bader <miles@gnu.org>
|
|
|
* Microblaze port by John Williams
|
|
* Microblaze port by John Williams
|
|
|
*/
|
|
*/
|
|
@@ -27,7 +27,7 @@
|
|
|
|
|
|
|
|
.global C_SYMBOL_NAME(errno)
|
|
.global C_SYMBOL_NAME(errno)
|
|
|
|
|
|
|
|
-C_ENTRY (vfork):
|
|
|
|
|
|
|
+C_ENTRY (__vfork):
|
|
|
addi r12, r0, SYS_vfork
|
|
addi r12, r0, SYS_vfork
|
|
|
bralid r17, 0x08;
|
|
bralid r17, 0x08;
|
|
|
nop
|
|
nop
|
|
@@ -39,4 +39,6 @@ C_ENTRY (vfork):
|
|
|
swi r3, r0, C_SYMBOL_NAME(errno);
|
|
swi r3, r0, C_SYMBOL_NAME(errno);
|
|
|
rtsd r15, 8 // error return
|
|
rtsd r15, 8 // error return
|
|
|
nop
|
|
nop
|
|
|
-C_END(vfork)
|
|
|
|
|
|
|
+C_END(__vfork)
|
|
|
|
|
+//weak_alias(__vfork,vfork)
|
|
|
|
|
+//libc_hidden_def(vfork)
|