]> sourceware.org Git - glibc.git/commitdiff
Remove IS_IN_librt
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 20 Nov 2014 07:56:25 +0000 (13:26 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Mon, 24 Nov 2014 06:11:45 +0000 (11:41 +0530)
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.

25 files changed:
ChangeLog
include/mqueue.h
nptl/pthreadP.h
sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h
sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h
sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h
sysdeps/unix/sysv/linux/i386/sysdep-cancel.h
sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h
sysdeps/unix/sysv/linux/ia64/sysdep.h
sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h
sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h
sysdeps/unix/sysv/linux/mips/sysdep-cancel.h
sysdeps/unix/sysv/linux/not-cancel.h
sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h
sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
sysdeps/unix/sysv/linux/sh/sysdep-cancel.h
sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h
sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h
sysdeps/unix/sysv/linux/tile/sysdep-cancel.h
sysdeps/unix/sysv/linux/tile/waitpid.S
sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h

index 65d8f0fe48f631f7825e4bc3c2ba201c2cd64ac2..3190dddf78724987684d198b5608b3d435a75995 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,32 @@
 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
+       * 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.
+
        * dlfcn/dladdr.c: Use IS_IN.
        * dlfcn/dladdr1.c: Likewise.
        * dlfcn/dlclose.c: Likewise.
index 1ac4f13445cdf243240e943fefa1eb15062220fd..aba788e8037684dfa6f7f0c99c4967a082f51c05 100644 (file)
@@ -1,6 +1,6 @@
 #include <rt/mqueue.h>
 
-#ifdef IS_IN_librt
+#if IS_IN (librt)
 hidden_proto (mq_timedsend)
 hidden_proto (mq_timedreceive)
 hidden_proto (mq_setattr)
index 3aa24c283b47c7de580e0b5d16e58abd71908421..376dbff316f79fc181a10e0ac97566d8f0945c1f 100644 (file)
@@ -308,7 +308,7 @@ __do_cancel (void)
 # define LIBC_CANCEL_HANDLED() \
   __asm (".globl " __SYMBOL_PREFIX "__pthread_enable_asynccancel"); \
   __asm (".globl " __SYMBOL_PREFIX "__pthread_disable_asynccancel")
-#elif defined IS_IN_librt
+#elif IS_IN (librt)
 # define LIBC_CANCEL_ASYNC() \
   __librt_enable_asynccancel ()
 # define LIBC_CANCEL_RESET(val) \
index 546ed7b55c68549bd242519fb89c8b875e927a3c..9e347de39036ba18c6188a62751723a957cd8ca3 100644 (file)
@@ -22,7 +22,7 @@
 # include <nptl/pthreadP.h>
 #endif
 
-#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || IS_IN (librt)
 
 # undef PSEUDO
 # define PSEUDO(name, syscall_name, args)                              \
@@ -89,7 +89,7 @@ ENTRY (name);                                                         \
 #  define CENABLE      bl __libc_enable_asynccancel
 #  define CDISABLE     bl __libc_disable_asynccancel
 #  define __local_multiple_threads __libc_multiple_threads
-# elif defined IS_IN_librt
+# elif IS_IN (librt)
 #  define CENABLE      bl __librt_enable_asynccancel
 #  define CDISABLE     bl __librt_disable_asynccancel
 # else
index 69809bc9e1945c90e855cbad2c910f9d9e0f55fb..45bf93b89b05aaf83607b1833b389bd0fc3097a6 100644 (file)
@@ -21,7 +21,7 @@
 # include <nptl/pthreadP.h>
 #endif
 
-#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || IS_IN (librt)
 
 /* ??? Assumes that nothing comes between PSEUDO and PSEUDO_END
    besides "ret".  */
@@ -121,7 +121,7 @@ __LABEL($multi_error)                                               \
 #  define __local_enable_asynccancel   __libc_enable_asynccancel
 #  define __local_disable_asynccancel  __libc_disable_asynccancel
 #  define __local_multiple_threads     __libc_multiple_threads
-# elif defined IS_IN_librt
+# elif IS_IN (librt)
 #  define __local_enable_asynccancel   __librt_enable_asynccancel
 #  define __local_disable_asynccancel  __librt_disable_asynccancel
 # else
index a0a869605eafc10933b16afe2b8f8599d7c58c96..e5a8e36a22e30279a5d1618f1118e67323826d28 100644 (file)
@@ -21,7 +21,7 @@
 # include <nptl/pthreadP.h>
 #endif
 
-#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || IS_IN (librt)
 
 /* NOTE: We do mark syscalls with unwind annotations, for the benefit of
    cancellation; but they're really only accurate at the point of the
 #  define CENABLE      bl PLTJMP(__libc_enable_asynccancel)
 #  define CDISABLE     bl PLTJMP(__libc_disable_asynccancel)
 #  define __local_multiple_threads __libc_multiple_threads
-# elif defined IS_IN_librt
+# elif IS_IN (librt)
 #  define CENABLE      bl PLTJMP(__librt_enable_asynccancel)
 #  define CDISABLE     bl PLTJMP(__librt_disable_asynccancel)
 # else
index 6f1c9d745bfaef65f26b1237673dd8b2fd75e996..365237e31eafe849c0d71ca1da00cfe96df203c5 100644 (file)
@@ -22,7 +22,7 @@
 # include <nptl/pthreadP.h>
 #endif
 
-#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || IS_IN (librt)
 
 # ifndef NO_ERROR
 #  define NO_ERROR -0x1000
@@ -228,7 +228,7 @@ L(pre_end):                                         ASM_LINE_SEP    \
 #   define CDISABLE    .import __libc_disable_asynccancel,code ASM_LINE_SEP \
                        bl __libc_disable_asynccancel,%r2 ASM_LINE_SEP
 #  endif
-# elif defined IS_IN_librt
+# elif IS_IN (librt)
 #  ifdef PIC
 #   define CENABLE .import __librt_enable_asynccancel,code ASM_LINE_SEP \
                        bl __librt_enable_asynccancel,%r2 ASM_LINE_SEP
@@ -248,7 +248,7 @@ L(pre_end):                                         ASM_LINE_SEP    \
 #  define __local_multiple_threads __pthread_multiple_threads
 # elif !defined NOT_IN_libc
 #  define __local_multiple_threads __libc_multiple_threads
-# elif IS_IN_librt
+# elif IS_IN (librt)
 #  define __local_multiple_threads __librt_multiple_threads
 # else
 #  error Unsupported library
@@ -271,7 +271,7 @@ L(pre_end):                                         ASM_LINE_SEP    \
 # define NO_CANCELLATION 1
 
 #endif
-/* !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt */
+/* !defined NOT_IN_libc || defined IS_IN_libpthread || IS_IN (librt) */
 
 #ifndef __ASSEMBLER__
 # define RTLD_SINGLE_THREAD_P \
index 4f4318d0bdae8caf1b640bc6471e9dfed7dd97fc..75fe2e64f142f68a26ab82329dc173349f1a2819 100644 (file)
@@ -22,7 +22,7 @@
 # include <nptl/pthreadP.h>
 #endif
 
-#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || IS_IN (librt)
 
 # undef PSEUDO
 # define PSEUDO(name, syscall_name, args)                                    \
 # elif !defined NOT_IN_libc
 #  define CENABLE      call __libc_enable_asynccancel;
 #  define CDISABLE     call __libc_disable_asynccancel
-# elif defined IS_IN_librt
+# elif IS_IN (librt)
 #  define CENABLE      call __librt_enable_asynccancel;
 #  define CDISABLE     call __librt_disable_asynccancel
 # else
index c44c48460c5bdb2647fefe43abcce9546392b6c1..366728f30697f27645e35fb923a398a809f8c7f4 100644 (file)
@@ -22,7 +22,7 @@
 # include <nptl/pthreadP.h>
 #endif
 
-#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || IS_IN (librt)
 
 # undef PSEUDO
 
@@ -185,7 +185,7 @@ __GC_##name:                                                                      \
 # elif !defined NOT_IN_libc
 #  define CENABLE      br.call.sptk.many b0 = __libc_enable_asynccancel
 #  define CDISABLE     br.call.sptk.many b0 = __libc_disable_asynccancel
-# elif defined IS_IN_librt
+# elif IS_IN (librt)
 #  define CENABLE      br.call.sptk.many b0 = __librt_enable_asynccancel
 #  define CDISABLE     br.call.sptk.many b0 = __librt_disable_asynccancel
 # else
index e0ec861dab74034b4c289ce827aa967bfa093e6d..49d289c6cac891e2dd3019c5b8bca981dd2efe42 100644 (file)
@@ -62,7 +62,7 @@
 
 #if defined USE_DL_SYSINFO \
        && (!defined NOT_IN_libc \
-           || defined IS_IN_libpthread || defined IS_IN_librt)
+           || defined IS_IN_libpthread || IS_IN (librt))
 # define IA64_USE_NEW_STUB
 #else
 # undef IA64_USE_NEW_STUB
index 868ce56687290c86dcf847d8b7fde7bbe8b7998a..0e19a38b0fe44e9ce48c8c8b96eb36ec05f751b8 100644 (file)
@@ -22,7 +22,7 @@
 # include <nptl/pthreadP.h>
 #endif
 
-#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || IS_IN (librt)
 
 # undef PSEUDO
 # define PSEUDO(name, syscall_name, args)                                    \
 # elif !defined NOT_IN_libc
 #  define CENABLE      PSEUDO_JMP (__libc_enable_asynccancel)
 #  define CDISABLE     PSEUDO_JMP (__libc_disable_asynccancel)
-# elif defined IS_IN_librt
+# elif IS_IN (librt)
 #  define CENABLE      PSEUDO_JMP (__librt_enable_asynccancel)
 #  define CDISABLE     PSEUDO_JMP (__librt_disable_asynccancel)
 # else
index 0080d8d4f95f1eb1e31d4b3187bc292ff3695dbc..4d371eff3c032ec9b0fd652a3b819717da663cd1 100644 (file)
@@ -21,9 +21,9 @@
 # include <nptl/pthreadP.h>
 #endif
 
-#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || IS_IN (librt)
 
-# if !defined(IS_IN_librt) || !defined(PIC)
+# if !IS_IN (librt) || !defined(PIC)
 #  define AC_STACK_SIZE  16  /* space for r15, async_cancel arg and 2 temp words */
 #  define AC_SET_GOT /* empty */
 #  define AC_RESTORE_GOT /* empty */
@@ -110,7 +110,7 @@ L(pseudo_cancel):                                                    \
 #  define CENABLE PSEUDO_JMP (__libc_enable_asynccancel)
 #  define CDISABLE  PSEUDO_JMP (__libc_disable_asynccancel)
 #  define __local_multiple_threads __libc_multiple_threads
-# elif defined IS_IN_librt
+# elif IS_IN (librt)
 #  define CENABLE PSEUDO_JMP (__librt_enable_asynccancel)
 #  define CDISABLE  PSEUDO_JMP (__librt_disable_asynccancel)
 # else
index 341b9a0ba0f878f63169d495d6b921b3b3352a8e..acbc5da15aab859c2bdac659fb5ab71f1ac31463 100644 (file)
@@ -27,7 +27,7 @@
    happen before any instructions.  So we use cfi_same_value instead of
    cfi_restore.  */
 
-#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || IS_IN (librt)
 
 #ifdef __PIC__
 # undef PSEUDO
 # ifdef IS_IN_libpthread
 #  define CENABLE      PSEUDO_JMP (__pthread_enable_asynccancel)
 #  define CDISABLE     PSEUDO_JMP (__pthread_disable_asynccancel)
-# elif defined IS_IN_librt
+# elif IS_IN (librt)
 #  define CENABLE      PSEUDO_JMP (__librt_enable_asynccancel)
 #  define CDISABLE     PSEUDO_JMP (__librt_disable_asynccancel)
 # else
index 3666081266be282e776881840d76e1972ab40e4d..5fdd5675d574ae65646a7f658dc441463a27c1f9 100644 (file)
@@ -22,7 +22,7 @@
 # include <nptl/pthreadP.h>
 #endif
 
-#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || IS_IN (librt)
 
 # ifdef __PIC__
 #  define PSEUDO_CPLOAD .cpload t9;
 # ifdef IS_IN_libpthread
 #  define CENABLE      PSEUDO_JMP (__pthread_enable_asynccancel)
 #  define CDISABLE     PSEUDO_JMP (__pthread_disable_asynccancel)
-# elif defined IS_IN_librt
+# elif IS_IN (librt)
 #  define CENABLE      PSEUDO_JMP (__librt_enable_asynccancel)
 #  define CDISABLE     PSEUDO_JMP (__librt_disable_asynccancel)
 # else
index 14f5e8bd8b9c3a84f6cb3d7950a7be1d8e04fbbe..d089531f1aa0b62d97b71c2745689701d025146b 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <sysdep.h>
 
-#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || IS_IN (librt)
 extern int __open_nocancel (const char *, int, ...) attribute_hidden;
 extern int __close_nocancel (int) attribute_hidden;
 extern int __read_nocancel (int, void *, size_t) attribute_hidden;
index b6eedcb0e9bb7182d7cb3d24c96d75ec24bf766f..962beaff5993f87ee042c4f4a6ff58879efebd86 100644 (file)
@@ -23,7 +23,7 @@
 # include <nptl/pthreadP.h>
 #endif
 
-#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || IS_IN (librt)
 
 # undef PSEUDO
 # define PSEUDO(name, syscall_name, args)                              \
@@ -87,7 +87,7 @@
 # elif !defined NOT_IN_libc
 #  define CENABLE      bl __libc_enable_asynccancel@local
 #  define CDISABLE     bl __libc_disable_asynccancel@local
-# elif defined IS_IN_librt
+# elif IS_IN (librt)
 #  define CENABLE      bl __librt_enable_asynccancel@local
 #  define CDISABLE     bl __librt_disable_asynccancel@local
 # else
index 5807d9d5bceac84f8cf9a8a1633b4a6bf5dc9126..0447062f28bc831d56e261bfbd82bcd8bd817507 100644 (file)
@@ -23,7 +23,7 @@
 # include <nptl/pthreadP.h>
 #endif
 
-#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || IS_IN (librt)
 
 # ifdef HAVE_ASM_GLOBAL_DOT_NAME
 #  define DASHDASHPFX(str) .__##str
 #   define CENABLE     bl JUMPTARGET(__libc_enable_asynccancel); nop
 #   define CDISABLE    bl JUMPTARGET(__libc_disable_asynccancel); nop
 #  endif
-# elif defined IS_IN_librt
+# elif IS_IN (librt)
 #  ifdef SHARED
 #   define CENABLE     bl JUMPTARGET(__librt_enable_asynccancel)
 #   define CDISABLE    bl JUMPTARGET(__librt_disable_asynccancel)
index 0eeefca5cbe94f60b7d78b64d2e9fb98a8b1d08e..bc5d852939a0c97642df6fe92c7bdce871934b9e 100644 (file)
@@ -22,7 +22,7 @@
 # include <nptl/pthreadP.h>
 #endif
 
-#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || IS_IN (librt)
 
 # undef PSEUDO
 # define PSEUDO(name, syscall_name, args)                                    \
@@ -81,7 +81,7 @@ L(pseudo_end):
 # elif !defined NOT_IN_libc
 #  define CENABLE      __libc_enable_asynccancel
 #  define CDISABLE     __libc_disable_asynccancel
-# elif defined IS_IN_librt
+# elif IS_IN (librt)
 #  define CENABLE      __librt_enable_asynccancel
 #  define CDISABLE     __librt_disable_asynccancel
 # else
index b3560c8e4e5f8b31fdb5aefbfb8ba746e6533818..885bf7ea9d7d27e8b53651e3d6b0b365aae22425 100644 (file)
@@ -22,7 +22,7 @@
 # include <nptl/pthreadP.h>
 #endif
 
-#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || IS_IN (librt)
 
 # undef PSEUDO
 # define PSEUDO(name, syscall_name, args)                                    \
@@ -77,7 +77,7 @@ L(pseudo_end):
 #  define CENABLE      __libc_enable_asynccancel
 #  define CDISABLE     __libc_disable_asynccancel
 #  define __local_multiple_threads     __libc_multiple_threads
-# elif defined IS_IN_librt
+# elif IS_IN (librt)
 #  define CENABLE      __librt_enable_asynccancel
 #  define CDISABLE     __librt_disable_asynccancel
 # else
index 4278f25d7b3104fecdf8219ccccb5c7f06d8134b..4ef51c0f12d02c4c3087dffaff6d74f4de6b5a0d 100644 (file)
@@ -21,7 +21,7 @@
 # include <nptl/pthreadP.h>
 #endif
 
-#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || IS_IN (librt)
 
 # define _IMM12 #-12
 # define _IMM16 #-16
 # elif !defined NOT_IN_libc
 #  define __local_enable_asynccancel   __libc_enable_asynccancel
 #  define __local_disable_asynccancel  __libc_disable_asynccancel
-# elif defined IS_IN_librt
+# elif IS_IN (librt)
 #  define __local_enable_asynccancel   __librt_enable_asynccancel
 #  define __local_disable_asynccancel  __librt_disable_asynccancel
 # else
index fd9968f911bb669de46e0eaa1a44759c6b8c0c84..2e24d2a72b29b8e0c17e8954e656232ff8d6a1c4 100644 (file)
@@ -22,7 +22,7 @@
 # include <nptl/pthreadP.h>
 #endif
 
-#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || IS_IN (librt)
 
 # undef PSEUDO
 # define PSEUDO(name, syscall_name, args)      \
@@ -74,7 +74,7 @@ __##syscall_name##_nocancel:                  \
 # elif !defined NOT_IN_libc
 #  define CENABLE      call __libc_enable_asynccancel
 #  define CDISABLE     call __libc_disable_asynccancel
-# elif defined IS_IN_librt
+# elif IS_IN (librt)
 #  define CENABLE      call __librt_enable_asynccancel
 #  define CDISABLE     call __librt_disable_asynccancel
 # else
index 4dad994ab3974049f7de6003427f3e30f22dc008..0ae3b615b29bd96c2a2ca76e87060a1c3f4f7d8d 100644 (file)
@@ -22,7 +22,7 @@
 # include <nptl/pthreadP.h>
 #endif
 
-#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || IS_IN (librt)
 
 # undef PSEUDO
 # define PSEUDO(name, syscall_name, args)      \
@@ -72,7 +72,7 @@ __##syscall_name##_nocancel:                  \
 # elif !defined NOT_IN_libc
 #  define CENABLE      call __libc_enable_asynccancel
 #  define CDISABLE     call __libc_disable_asynccancel
-# elif defined IS_IN_librt
+# elif IS_IN (librt)
 #  define CENABLE      call __librt_enable_asynccancel
 #  define CDISABLE     call __librt_disable_asynccancel
 # else
index 233333844fbdcc7fa7f42d3bd86cf8cc711707f0..8140273b7dab8a94a291e040df8eab10bee3c990 100644 (file)
@@ -22,7 +22,7 @@
 # include <nptl/pthreadP.h>
 #endif
 
-#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || IS_IN (librt)
 
 /* Allow hacking in some extra code if desired. */
 #ifndef PSEUDO_EXTRA
 # ifdef IS_IN_libpthread
 #  define CENABLE      jal __pthread_enable_asynccancel
 #  define CDISABLE     jal __pthread_disable_asynccancel
-# elif defined IS_IN_librt
+# elif IS_IN (librt)
 #  define CENABLE      jal __librt_enable_asynccancel
 #  define CDISABLE     jal __librt_disable_asynccancel
 # else
index 22642aee41e99fabdfdee979e5fd082f3920f59e..7ccdf250137c763e502fbc3635d9f94538f1506f 100644 (file)
@@ -1,7 +1,7 @@
 /*
 extern pid_t __waitpid_nocancel (pid_t, int *, int) attribute_hidden;
 */
-#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+#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;
index 83cd25fe8d6057138e6103b705755d674911fb60..efdb1c657a34009d6c985b73970b19875736b99a 100644 (file)
@@ -22,7 +22,7 @@
 # include <nptl/pthreadP.h>
 #endif
 
-#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || IS_IN (librt)
 
 /* The code to disable cancellation depends on the fact that the called
    functions are special.  They don't modify registers other than %rax
@@ -67,7 +67,7 @@
 #  define CENABLE      call __libc_enable_asynccancel;
 #  define CDISABLE     call __libc_disable_asynccancel;
 #  define __local_multiple_threads __libc_multiple_threads
-# elif defined IS_IN_librt
+# elif IS_IN (librt)
 #  define CENABLE      call __librt_enable_asynccancel;
 #  define CDISABLE     call __librt_disable_asynccancel;
 # else
This page took 0.137346 seconds and 5 git commands to generate.