mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
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>
This commit is contained in:
parent
bf956afeaa
commit
24caa35c57
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user