mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-04 02:40:06 +00:00
016afc75cd
Replace with IS_IN (librt). Generated code unchanged on x86_64 * include/mqueue.h: Use IS_IN instead of IS_IN_librt. * nptl/pthreadP.h: Likewise. * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise. * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise. * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise. * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise. * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise. * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise. * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise. * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise. * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise. * sysdeps/unix/sysv/linux/not-cancel.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise. * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise. * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise. * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19 lines
438 B
ArmAsm
19 lines
438 B
ArmAsm
/*
|
|
extern pid_t __waitpid_nocancel (pid_t, int *, int) attribute_hidden;
|
|
*/
|
|
#if !defined NOT_IN_libc || defined IS_IN_libpthread || IS_IN (librt)
|
|
|
|
/* Call __NR_wait4, providing fourth argument (struct rusage *) as NULL. */
|
|
#define PSEUDO_EXTRA move r3, zero;
|
|
#include <sysdep-cancel.h>
|
|
|
|
PSEUDO (__waitpid, wait4, 3)
|
|
ret
|
|
PSEUDO_END(__waitpid)
|
|
|
|
libc_hidden_def (__waitpid)
|
|
weak_alias (__waitpid, waitpid)
|
|
libc_hidden_weak (waitpid)
|
|
|
|
#endif
|