From: Florian Weimer Date: Sun, 9 Feb 2020 16:07:07 +0000 (+0100) Subject: microblaze: vfork syscall number is always available X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69168c5934cd3f57bd93902c8ced6a01a3b0aebd;p=thirdparty%2Fglibc.git microblaze: vfork syscall number 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.) --- diff --git a/sysdeps/unix/sysv/linux/microblaze/vfork.S b/sysdeps/unix/sysv/linux/microblaze/vfork.S index 7bff659ff35..913aa06e2e2 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