aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-03-03 12:53:10 +0100
committerFlorian Weimer <fweimer@redhat.com>2020-03-03 12:53:11 +0100
commit24caa35c571fe9590d7cf33dc81d8d94cac7de7f (patch)
treee8b149fc4d2dae15bf2871a6a7e12be3660bc4d4 /sysdeps
parentm68k: getpagesize syscall number is always available (diff)
downloadglibc-24caa35c571fe9590d7cf33dc81d8d94cac7de7f.tar.gz
glibc-24caa35c571fe9590d7cf33dc81d8d94cac7de7f.tar.bz2
glibc-24caa35c571fe9590d7cf33dc81d8d94cac7de7f.zip
microblaze: vfork is always available
Due to the built-in tables, __NR_vfork is always defined, so the fork-based fallback code is never used. (It appears that the vfork system call was wired up when the port was contributed to the kernel.) Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/microblaze/vfork.S4
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/microblaze/vfork.S b/sysdeps/unix/sysv/linux/microblaze/vfork.S
index 7bff659ff3..913aa06e2e 100644
--- a/sysdeps/unix/sysv/linux/microblaze/vfork.S
+++ b/sysdeps/unix/sysv/linux/microblaze/vfork.S
@@ -28,11 +28,7 @@
ENTRY (__vfork)
-#ifdef __NR_vfork
DO_CALL (vfork, 0)
-#else
- DO_CALL (fork, 0)
-#endif
addik r12,r0,-4095
cmpu r12,r12,r3
bgei r12,SYSCALL_ERROR_LABEL