]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / sysdeps / unix / sysv / linux / powerpc / powerpc64 / sysdep-cancel.h
index 5807d9d5bceac84f8cf9a8a1633b4a6bf5dc9126..59d7d9ed6ca0f04765bd88d5fee9b8565fd4e34d 100644 (file)
@@ -1,5 +1,5 @@
 /* Cancellable system call stubs.  Linux/PowerPC64 version.
-   Copyright (C) 2003-2014 Free Software Foundation, Inc.
+   Copyright (C) 2003-2016 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>, 2003.
 
 # include <nptl/pthreadP.h>
 #endif
 
-#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+#if IS_IN (libc) || IS_IN (libpthread) || IS_IN (librt)
 
-# ifdef HAVE_ASM_GLOBAL_DOT_NAME
-#  define DASHDASHPFX(str) .__##str
-# else
-#  define DASHDASHPFX(str) __##str
-# endif
+# define DASHDASHPFX(str) __##str
 
 #if _CALL_ELF == 2
 #define CANCEL_FRAMESIZE (FRAME_MIN_SIZE+16+48)
@@ -99,7 +95,7 @@
 # define DOCARGS_6     std 8,CANCEL_PARM_SAVE+40(1); DOCARGS_5
 # define UNDOCARGS_6   ld 8,CANCEL_PARM_SAVE+40(1); UNDOCARGS_5
 
-# ifdef IS_IN_libpthread
+# if IS_IN (libpthread)
 #  ifdef SHARED
 #   define CENABLE     bl JUMPTARGET(__pthread_enable_asynccancel)
 #   define CDISABLE    bl JUMPTARGET(__pthread_disable_asynccancel)
 #   define CENABLE     bl JUMPTARGET(__pthread_enable_asynccancel); nop
 #   define CDISABLE    bl JUMPTARGET(__pthread_disable_asynccancel); nop
 #  endif
-# elif !defined NOT_IN_libc
+# elif IS_IN (libc)
 #  ifdef SHARED
 #   define CENABLE     bl JUMPTARGET(__libc_enable_asynccancel)
 #   define CDISABLE    bl JUMPTARGET(__libc_disable_asynccancel)
 #   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)