aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/powerpc/powerpc64
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-08-01 20:49:45 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-08-01 20:49:45 +0000
commita9f1039f0a6a3b5e453107ae2e4c5deff0926ea6 (patch)
tree50eb75e4f72ef6e2948166f5135db3e3fd1f238a /sysdeps/unix/sysv/linux/powerpc/powerpc64
parent5d9eaeecb451dc85479c1905d41a0b41c6d8b1d0 (diff)
downloadglibc-a9f1039f0a6a3b5e453107ae2e4c5deff0926ea6.zip
glibc-a9f1039f0a6a3b5e453107ae2e4c5deff0926ea6.tar.gz
glibc-a9f1039f0a6a3b5e453107ae2e4c5deff0926ea6.tar.bz2
Remove __ASSUME_VFORK_SYSCALL (and some __NR_vfork conditionals).
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/powerpc64')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S23
1 files changed, 1 insertions, 22 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S
index 7baefd0..3ce38be 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2003-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -27,29 +27,8 @@
ENTRY (__vfork)
CALL_MCOUNT 0
-
-#ifdef __NR_vfork
-
DO_CALL (SYS_ify (vfork))
-
-# ifdef __ASSUME_VFORK_SYSCALL
- PSEUDO_RET
-# else
- bnslr+
- /* Check if vfork syscall is known at all. */
- cmpdi r3,ENOSYS
- bne .Local_syscall_error
-
-# endif
-#endif
-
-#ifndef __ASSUME_VFORK_SYSCALL
- /* If we don't have vfork, fork is close enough. */
-
- DO_CALL (SYS_ify (fork))
PSEUDO_RET
-#endif
-
PSEUDO_END (__vfork)
libc_hidden_def (__vfork)