]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
microblaze: vfork syscall number is always available fw/syscall-cleanups
authorFlorian Weimer <fweimer@redhat.com>
Sun, 9 Feb 2020 16:07:07 +0000 (17:07 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Sun, 9 Feb 2020 16:39:40 +0000 (17:39 +0100)
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.)

sysdeps/unix/sysv/linux/microblaze/vfork.S

index 7bff659ff359de6b30e81ef0a0dea0c6d57bb087..913aa06e2e2952c7ff3cdaf61f019667b312514a 100644 (file)
 
 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