mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
* sysdeps/unix/sysv/linux/m68k/vfork.S: Optimize for kernels which
are known to have the vfork syscall. * sysdeps/m68k/sysdep.h (JUMPTARGET): Undefine before defining it. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL) (__ASSUME_STAT64_SYSCALL, __ASSUME_FCNTL64) (__ASSUME_VFORK_SYSCALL): Define for m68k kernels >= 2.4.12.
This commit is contained in:
@ -240,3 +240,12 @@
|
||||
#if __LINUX_KERNEL_VERSION >= 132402 && defined __i386__
|
||||
# define __ASSUME_CLONE_THREAD_FLAGS 1
|
||||
#endif
|
||||
|
||||
/* These features were surely available with 2.4.12. */
|
||||
#if __LINUX_KERNEL_VERSION >= 132108 && defined __mc68000__
|
||||
# define __ASSUME_MMAP2_SYSCALL 1
|
||||
# define __ASSUME_TRUNCATE64_SYSCALL 1
|
||||
# define __ASSUME_STAT64_SYSCALL 1
|
||||
# define __ASSUME_FCNTL64 1
|
||||
# define __ASSUME_VFORK_SYSCALL 1
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user