about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-02-09 17:07:07 +0100
committerFlorian Weimer <fweimer@redhat.com>2020-02-09 17:39:40 +0100
commit69168c5934cd3f57bd93902c8ced6a01a3b0aebd (patch)
tree63107bee8682dd62b076285028c75fdc680af302
parent1967bfd36b28bf0934f8f9abf6a2d5d6340cb980 (diff)
downloadglibc-fw/syscall-cleanups.tar.gz
glibc-fw/syscall-cleanups.tar.xz
glibc-fw/syscall-cleanups.zip
microblaze: vfork syscall number is always available fw/syscall-cleanups
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.)
-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