summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/v850/vfork.S
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-12-28 22:43:01 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-01-02 16:57:03 +0100
commit82b948ef8ffd2770fb09a8640dab82f3cb2af443 (patch)
tree17380b9ddad8301a6feadc66f18986074e5e5ce8 /libc/sysdeps/linux/v850/vfork.S
parentbad1263e3316825b5ef0037ad7a897ae62a30d7e (diff)
remove deprecated architectures v850/i960
Both architectures are more or less deprecated. No Linux upstream support, no gcc support for uClinux.
Diffstat (limited to 'libc/sysdeps/linux/v850/vfork.S')
-rw-r--r--libc/sysdeps/linux/v850/vfork.S36
1 files changed, 0 insertions, 36 deletions
diff --git a/libc/sysdeps/linux/v850/vfork.S b/libc/sysdeps/linux/v850/vfork.S
deleted file mode 100644
index b67ebf8f5..000000000
--- a/libc/sysdeps/linux/v850/vfork.S
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * libc/sysdeps/linux/v850/vfork.S -- `vfork' syscall for linux/v850
- *
- * Copyright (C) 2001,2002 NEC Corporation
- * Copyright (C) 2001,2002 Miles Bader <miles@gnu.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.
- *
- * Written by Miles Bader <miles@gnu.org>
- */
-
-#include <sys/syscall.h>
-#include <clinkage.h>
-
-/* Clone the calling process, but without copying the whole address space.
- The calling process is suspended until the new process exits or is
- replaced by a call to `execve'. Return -1 for errors, 0 to the new process,
- and the process ID of the new process to the old process. */
-
-/* this should be made hidden */
-C_ENTRY (__vfork):
- addi SYS_vfork, r0, r12
- trap 0
- addi -125, r0, r11 /* minimum err value */
- cmp r11, r10
- bh 1f
- jmp [lp] /* normal return */
-1: mov hilo(C_SYMBOL_NAME(errno)), r11
- subr r0, r10
- st.w r10, 0[r11]
- jmp [lp] /* error return */
-C_END(__vfork)
-weak_alias(__vfork,vfork)
-libc_hidden_def(vfork)