olga / rpms / glibc

Forked from rpms/glibc 5 years ago
Clone

Blame SOURCES/glibc-rh1256317-4.patch

00db10
commit a38484851aa244e1d5c48405f0e26fe93fa8d3b5
00db10
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
00db10
Date:   Thu Nov 20 21:09:43 2014 +0530
00db10
00db10
    Remove IS_IN_rtld
00db10
    
00db10
    Replace with IS_IN (rtld).  Generated code is unchanged on
00db10
    x86_64.
00db10
    
00db10
            * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
00db10
            * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
00db10
            * elf/rtld-Rules: Likewise.
00db10
            * elf/setup-vdso.h: Likewise.
00db10
            * include/assert.h: Likewise.
00db10
            * include/bits/stdlib-float.h: Likewise.
00db10
            * include/errno.h: Likewise.
00db10
            * include/sys/stat.h: Likewise.
00db10
            * include/unistd.h: Likewise.
00db10
            * sysdeps/aarch64/setjmp.S: Likewise.
00db10
            * sysdeps/alpha/setjmp.S: Likewise.
00db10
            * sysdeps/arm/__longjmp.S: Likewise.
00db10
            * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
00db10
            * sysdeps/arm/setjmp.S: Likewise.
00db10
            * sysdeps/arm/sysdep.h: Likewise.
00db10
            * sysdeps/generic/_itoa.h: Likewise.
00db10
            * sysdeps/generic/dl-sysdep.h: Likewise.
00db10
            * sysdeps/generic/ldsodefs.h: Likewise.
00db10
            * sysdeps/i386/dl-tls.h: Likewise.
00db10
            * sysdeps/i386/setjmp.S: Likewise.
00db10
            * sysdeps/m68k/setjmp.c: Likewise.
00db10
            * sysdeps/mach/hurd/dl-execstack.c: Likewise.
00db10
            * sysdeps/mach/hurd/opendir.c: Likewise.
00db10
            * sysdeps/posix/getcwd.c: Likewise.
00db10
            * sysdeps/posix/opendir.c: Likewise.
00db10
            * sysdeps/posix/profil.c: Likewise.
00db10
            * sysdeps/powerpc/dl-procinfo.h: Likewise.
00db10
            * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
00db10
            * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
00db10
            * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
00db10
            * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
00db10
            * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
00db10
            * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
00db10
            * sysdeps/s390/dl-tls.h: Likewise.
00db10
            * sysdeps/s390/s390-32/setjmp.S: Likewise.
00db10
            * sysdeps/s390/s390-64/setjmp.S: Likewise.
00db10
            * sysdeps/sh/sh3/setjmp.S: Likewise.
00db10
            * sysdeps/sh/sh4/setjmp.S: Likewise.
00db10
            * sysdeps/unix/alpha/sysdep.h: Likewise.
00db10
            * sysdeps/unix/arm/sysdep.S: Likewise.
00db10
            * sysdeps/unix/i386/sysdep.S: Likewise.
00db10
            * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
00db10
            * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
00db10
            * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
00db10
            * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
00db10
            * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
00db10
            * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
00db10
            * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
00db10
            * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
00db10
            * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
00db10
            * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
00db10
            * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
00db10
            * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
00db10
            * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
00db10
            * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
00db10
            * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
00db10
            * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
00db10
            * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
00db10
            * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
00db10
            * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
00db10
            * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
00db10
            * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
00db10
            * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
00db10
            * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
00db10
            * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
00db10
            * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
00db10
            * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
00db10
            * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
00db10
            * sysdeps/unix/x86_64/sysdep.S: Likewise.
00db10
            * sysdeps/x86_64/setjmp.S: Likewise.
00db10
00db10
Index: glibc-2.17-c758a686/elf/Makefile
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/elf/Makefile
00db10
+++ glibc-2.17-c758a686/elf/Makefile
00db10
@@ -444,7 +444,7 @@ CFLAGS-cache.c = $(SYSCONF-FLAGS)
00db10
 CFLAGS-rtld.c = $(SYSCONF-FLAGS)
00db10
 
00db10
 CPPFLAGS-.os += $(if $(filter $(@F),$(patsubst %,%.os,$(all-rtld-routines))),\
00db10
-		     -DNOT_IN_libc=1 -DIS_IN_rtld=1)
00db10
+		     -DNOT_IN_libc=1)
00db10
 
00db10
 # Disable any optimization which might result in function calls during early
00db10
 # dynamic loader startup. We disable -ftree-loop-distribute-patterns which
00db10
Index: glibc-2.17-c758a686/elf/dl-open.c
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/elf/dl-open.c
00db10
+++ glibc-2.17-c758a686/elf/dl-open.c
00db10
@@ -741,7 +741,7 @@ _dl_show_scope (struct link_map *l, int
00db10
   _dl_debug_printf ("\n");
00db10
 }
00db10
 
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 /* Return non-zero if ADDR lies within one of L's segments.  */
00db10
 int
00db10
 internal_function
00db10
Index: glibc-2.17-c758a686/elf/rtld-Rules
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/elf/rtld-Rules
00db10
+++ glibc-2.17-c758a686/elf/rtld-Rules
00db10
@@ -134,6 +134,6 @@ lib := rtld
00db10
 include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left))
00db10
 
00db10
 # This here is the whole point of all the shenanigans.
00db10
-rtld-CPPFLAGS := -DNOT_IN_libc=1 -DIS_IN_rtld=1
00db10
+rtld-CPPFLAGS := -DNOT_IN_libc=1
00db10
 
00db10
 endif
00db10
Index: glibc-2.17-c758a686/elf/setup-vdso.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/elf/setup-vdso.h
00db10
+++ glibc-2.17-c758a686/elf/setup-vdso.h
00db10
@@ -101,7 +101,7 @@ setup_vdso (struct link_map *main_map __
00db10
       /* Add the vDSO to the object list.  */
00db10
       _dl_add_to_namespace_list (l, LM_ID_BASE);
00db10
 
00db10
-# ifdef IS_IN_rtld
00db10
+# if IS_IN (rtld)
00db10
       /* Rearrange the list so this DSO appears after rtld_map.  */
00db10
       assert (l->l_next == NULL);
00db10
       assert (l->l_prev == main_map);
00db10
Index: glibc-2.17-c758a686/include/assert.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/include/assert.h
00db10
+++ glibc-2.17-c758a686/include/assert.h
00db10
@@ -20,7 +20,7 @@ extern void __assert_fail_base (const ch
00db10
 				const char *function)
00db10
      __THROW  __attribute__ ((__noreturn__));
00db10
 
00db10
-# if !defined NOT_IN_libc || defined IS_IN_rtld
00db10
+# if !defined NOT_IN_libc || IS_IN (rtld)
00db10
 hidden_proto (__assert_fail)
00db10
 hidden_proto (__assert_perror_fail)
00db10
 # endif
00db10
Index: glibc-2.17-c758a686/include/bits/stdlib-float.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/include/bits/stdlib-float.h
00db10
+++ glibc-2.17-c758a686/include/bits/stdlib-float.h
00db10
@@ -1,4 +1,4 @@
00db10
 /* No floating-point inline functions in rtld.  */
00db10
-#ifndef IS_IN_rtld
00db10
+#if !IS_IN (rtld)
00db10
 # include <stdlib/bits/stdlib-float.h>
00db10
 #endif
00db10
Index: glibc-2.17-c758a686/include/errno.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/include/errno.h
00db10
+++ glibc-2.17-c758a686/include/errno.h
00db10
@@ -4,7 +4,7 @@
00db10
 
00db10
 #if defined _ERRNO_H && !defined _ISOMAC && !defined __cplusplus
00db10
 
00db10
-# ifdef IS_IN_rtld
00db10
+# if IS_IN (rtld)
00db10
 #  include <dl-sysdep.h>
00db10
 # endif
00db10
 
00db10
Index: glibc-2.17-c758a686/include/sys/stat.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/include/sys/stat.h
00db10
+++ glibc-2.17-c758a686/include/sys/stat.h
00db10
@@ -12,7 +12,7 @@ extern __mode_t __umask (__mode_t __mask
00db10
 extern int __mkdir (const char *__path, __mode_t __mode);
00db10
 extern int __mknod (const char *__path,
00db10
 		    __mode_t __mode, __dev_t __dev);
00db10
-#if !defined NOT_IN_libc || defined IS_IN_rtld
00db10
+#if !defined NOT_IN_libc || IS_IN (rtld)
00db10
 hidden_proto (__fxstat)
00db10
 hidden_proto (__fxstat64)
00db10
 hidden_proto (__lxstat)
00db10
Index: glibc-2.17-c758a686/ports/sysdeps/aarch64/setjmp.S
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/ports/sysdeps/aarch64/setjmp.S
00db10
+++ glibc-2.17-c758a686/ports/sysdeps/aarch64/setjmp.S
00db10
@@ -58,7 +58,7 @@ ENTRY (__sigsetjmp)
00db10
 	mov	x2,  sp
00db10
 	str	x2,  [x0, #JB_SP<<3]
00db10
 #endif
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 	/* In ld.so we never save the signal mask */
00db10
 	mov	w0, #0
00db10
 	RET
00db10
Index: glibc-2.17-c758a686/ports/sysdeps/alpha/setjmp.S
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/ports/sysdeps/alpha/setjmp.S
00db10
+++ glibc-2.17-c758a686/ports/sysdeps/alpha/setjmp.S
00db10
@@ -86,7 +86,7 @@ $sigsetjmp_local:
00db10
 	ldq	ra, 0(sp)
00db10
 	addq	sp, 16, sp
00db10
 	ret
00db10
-#elif defined IS_IN_rtld
00db10
+#elif IS_IN (rtld)
00db10
 	/* In ld.so we never save the signal mask.  */
00db10
 	mov	0, v0
00db10
 	ret
00db10
Index: glibc-2.17-c758a686/ports/sysdeps/arm/__longjmp.S
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/ports/sysdeps/arm/__longjmp.S
00db10
+++ glibc-2.17-c758a686/ports/sysdeps/arm/__longjmp.S
00db10
@@ -52,7 +52,7 @@ ENTRY (__longjmp)
00db10
 #endif
00db10
 
00db10
 #ifdef NEED_HWCAP
00db10
-# ifdef IS_IN_rtld
00db10
+# if IS_IN (rtld)
00db10
 	ldr	a2, 1f
00db10
 	ldr	a3, .Lrtld_local_ro
00db10
 0:	add	a2, pc, a2
00db10
@@ -104,7 +104,7 @@ ENTRY (__longjmp)
00db10
 	DO_RET(lr)
00db10
 
00db10
 #ifdef NEED_HWCAP
00db10
-# ifdef IS_IN_rtld
00db10
+# if IS_IN (rtld)
00db10
 1:	.long	_GLOBAL_OFFSET_TABLE_ - 0b - 8
00db10
 .Lrtld_local_ro:
00db10
 	.long	C_SYMBOL_NAME(_rtld_local_ro)(GOTOFF)
00db10
Index: glibc-2.17-c758a686/ports/sysdeps/arm/aeabi_unwind_cpp_pr1.c
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/ports/sysdeps/arm/aeabi_unwind_cpp_pr1.c
00db10
+++ glibc-2.17-c758a686/ports/sysdeps/arm/aeabi_unwind_cpp_pr1.c
00db10
@@ -27,7 +27,7 @@ attribute_hidden
00db10
 void
00db10
 __aeabi_unwind_cpp_pr0 (void)
00db10
 {
00db10
-#ifndef IS_IN_rtld
00db10
+#if !IS_IN (rtld)
00db10
   abort ();
00db10
 #endif
00db10
 }
00db10
@@ -36,7 +36,7 @@ attribute_hidden
00db10
 void
00db10
 __aeabi_unwind_cpp_pr1 (void)
00db10
 {
00db10
-#ifndef IS_IN_rtld
00db10
+#if !IS_IN (rtld)
00db10
   abort ();
00db10
 #endif
00db10
 }
00db10
@@ -45,7 +45,7 @@ attribute_hidden
00db10
 void
00db10
 __aeabi_unwind_cpp_pr2 (void)
00db10
 {
00db10
-#ifndef IS_IN_rtld
00db10
+#if !IS_IN (rtld)
00db10
   abort ();
00db10
 #endif
00db10
 }
00db10
Index: glibc-2.17-c758a686/ports/sysdeps/arm/setjmp.S
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/ports/sysdeps/arm/setjmp.S
00db10
+++ glibc-2.17-c758a686/ports/sysdeps/arm/setjmp.S
00db10
@@ -35,7 +35,7 @@ ENTRY (__sigsetjmp)
00db10
 
00db10
 #ifdef NEED_HWCAP
00db10
 	/* Check if we have a VFP unit.  */
00db10
-# ifdef IS_IN_rtld
00db10
+# if IS_IN (rtld)
00db10
 	ldr	a3, 1f
00db10
 	ldr	a4, .Lrtld_local_ro
00db10
 0:	add	a3, pc, a3
00db10
@@ -90,7 +90,7 @@ ENTRY (__sigsetjmp)
00db10
 	B	PLTJMP(C_SYMBOL_NAME(__sigjmp_save))
00db10
 
00db10
 #ifdef NEED_HWCAP
00db10
-# ifdef IS_IN_rtld
00db10
+# if IS_IN (rtld)
00db10
 1:	.long	_GLOBAL_OFFSET_TABLE_ - 0b - 8
00db10
 .Lrtld_local_ro:
00db10
 	.long	C_SYMBOL_NAME(_rtld_local_ro)(GOTOFF)
00db10
Index: glibc-2.17-c758a686/sysdeps/generic/_itoa.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/generic/_itoa.h
00db10
+++ glibc-2.17-c758a686/sysdeps/generic/_itoa.h
00db10
@@ -46,7 +46,7 @@ extern char *_itoa (unsigned long long i
00db10
 
00db10
 extern const char _itoa_upper_digits[];
00db10
 extern const char _itoa_lower_digits[];
00db10
-#if !defined NOT_IN_libc || defined IS_IN_rtld
00db10
+#if !defined NOT_IN_libc || IS_IN (rtld)
00db10
 hidden_proto (_itoa_upper_digits)
00db10
 hidden_proto (_itoa_lower_digits)
00db10
 #endif
00db10
Index: glibc-2.17-c758a686/sysdeps/generic/dl-sysdep.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/generic/dl-sysdep.h
00db10
+++ glibc-2.17-c758a686/sysdeps/generic/dl-sysdep.h
00db10
@@ -27,7 +27,7 @@
00db10
    all the libc functions that ld.so uses are called without PLT and always
00db10
    get the versions linked into ld.so rather than the libc ones.  */
00db10
 
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 # define RTLD_PRIVATE_ERRNO 1
00db10
 #else
00db10
 # define RTLD_PRIVATE_ERRNO 0
00db10
Index: glibc-2.17-c758a686/sysdeps/generic/ldsodefs.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/generic/ldsodefs.h
00db10
+++ glibc-2.17-c758a686/sysdeps/generic/ldsodefs.h
00db10
@@ -246,7 +246,7 @@ typedef void (*receiver_fct) (int, const
00db10
 # define GL(name) _##name
00db10
 #else
00db10
 # define EXTERN
00db10
-# ifdef IS_IN_rtld
00db10
+# if IS_IN (rtld)
00db10
 #  define GL(name) _rtld_local._##name
00db10
 # else
00db10
 #  define GL(name) _rtld_global._##name
00db10
@@ -415,7 +415,7 @@ struct rtld_global
00db10
 #ifdef SHARED
00db10
 };
00db10
 # define __rtld_global_attribute__
00db10
-# ifdef IS_IN_rtld
00db10
+# if IS_IN (rtld)
00db10
 #  ifdef HAVE_SDATA_SECTION
00db10
 #   define __rtld_local_attribute__ \
00db10
 	    __attribute__ ((visibility ("hidden"), section (".sdata")))
00db10
@@ -434,7 +434,7 @@ extern struct rtld_global _rtld_global _
00db10
 #ifndef SHARED
00db10
 # define GLRO(name) _##name
00db10
 #else
00db10
-# ifdef IS_IN_rtld
00db10
+# if IS_IN (rtld)
00db10
 #  define GLRO(name) _rtld_local_ro._##name
00db10
 # else
00db10
 #  define GLRO(name) _rtld_global_ro._##name
00db10
@@ -593,7 +593,7 @@ struct rtld_global_ro
00db10
   EXTERN int _dl_pointer_guard;
00db10
 };
00db10
 # define __rtld_global_attribute__
00db10
-# ifdef IS_IN_rtld
00db10
+# if IS_IN (rtld)
00db10
 #  define __rtld_local_attribute__ __attribute__ ((visibility ("hidden")))
00db10
 extern struct rtld_global_ro _rtld_local_ro
00db10
     attribute_relro __rtld_local_attribute__;
00db10
@@ -610,7 +610,7 @@ extern const struct rtld_global_ro _rtld
00db10
 #endif
00db10
 #undef EXTERN
00db10
 
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 /* This is the initial value of GL(dl_error_catch_tsd).
00db10
    A non-TLS libpthread will change it.  */
00db10
 extern void **_dl_initial_error_catch_tsd (void) __attribute__ ((const))
00db10
@@ -641,7 +641,7 @@ extern char **_dl_argv
00db10
      attribute_relro
00db10
 #endif
00db10
      ;
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 extern char **_dl_argv_internal attribute_hidden
00db10
 # ifndef DL_ARGV_NOT_RELRO
00db10
      attribute_relro
00db10
@@ -655,7 +655,7 @@ extern char **_dl_argv_internal attribut
00db10
 /* Flag set at startup and cleared when the last initializer has run.  */
00db10
 extern int _dl_starting_up;
00db10
 weak_extern (_dl_starting_up)
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 extern int _dl_starting_up_internal attribute_hidden;
00db10
 #endif
00db10
 
00db10
Index: glibc-2.17-c758a686/sysdeps/i386/dl-tls.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/i386/dl-tls.h
00db10
+++ glibc-2.17-c758a686/sysdeps/i386/dl-tls.h
00db10
@@ -32,7 +32,7 @@ extern void *___tls_get_addr (tls_index
00db10
 extern void *___tls_get_addr_internal (tls_index *ti)
00db10
      __attribute__ ((__regparm__ (1))) attribute_hidden;
00db10
 
00db10
-# ifdef IS_IN_rtld
00db10
+# if IS_IN (rtld)
00db10
 /* The special thing about the x86 TLS ABI is that we have two
00db10
    variants of the __tls_get_addr function with different calling
00db10
    conventions.  The GNU version, which we are mostly concerned here,
00db10
Index: glibc-2.17-c758a686/sysdeps/i386/setjmp.S
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/i386/setjmp.S
00db10
+++ glibc-2.17-c758a686/sysdeps/i386/setjmp.S
00db10
@@ -51,7 +51,7 @@ ENTRY (BP_SYM (__sigsetjmp))
00db10
 	LEAVE /* pop frame pointer to prepare for tail-call.  */
00db10
 	movl %ebp, (JB_BP*4)(%eax) /* Save caller's frame pointer.  */
00db10
 
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 	/* In ld.so we never save the signal mask.  */
00db10
 	xorl %eax, %eax
00db10
 	ret
00db10
Index: glibc-2.17-c758a686/ports/sysdeps/m68k/setjmp.c
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/ports/sysdeps/m68k/setjmp.c
00db10
+++ glibc-2.17-c758a686/ports/sysdeps/m68k/setjmp.c
00db10
@@ -57,7 +57,7 @@ __sigsetjmp (jmp_buf env, int savemask)
00db10
 		: : "m" (env[0].__jmpbuf[0].__fpregs[0]));
00db10
 #endif
00db10
 
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
   /* In ld.so we never save the signal mask.  */
00db10
   return 0;
00db10
 #else
00db10
Index: glibc-2.17-c758a686/sysdeps/mach/hurd/dl-execstack.c
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/mach/hurd/dl-execstack.c
00db10
+++ glibc-2.17-c758a686/sysdeps/mach/hurd/dl-execstack.c
00db10
@@ -34,7 +34,7 @@ _dl_make_stack_executable (void **stack_
00db10
     return EPERM;
00db10
   *stack_endp = NULL;
00db10
 
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
   if (__mprotect ((void *)_dl_hurd_data->stack_base, _dl_hurd_data->stack_size,
00db10
 		  PROT_READ|PROT_WRITE|PROT_EXEC) != 0)
00db10
     return errno;
00db10
Index: glibc-2.17-c758a686/sysdeps/mach/hurd/opendir.c
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/mach/hurd/opendir.c
00db10
+++ glibc-2.17-c758a686/sysdeps/mach/hurd/opendir.c
00db10
@@ -82,7 +82,7 @@ __opendirat (int dfd, const char *name)
00db10
 
00db10
   int flags = O_RDONLY | O_NONBLOCK | O_DIRECTORY | O_CLOEXEC;
00db10
   int fd;
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
   assert (dfd == AT_FDCWD);
00db10
   fd = open_not_cancel_2 (name, flags);
00db10
 #else
00db10
Index: glibc-2.17-c758a686/sysdeps/posix/getcwd.c
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/posix/getcwd.c
00db10
+++ glibc-2.17-c758a686/sysdeps/posix/getcwd.c
00db10
@@ -206,7 +206,7 @@ extern char *alloca ();
00db10
 
00db10
 #ifdef __ASSUME_ATFCTS
00db10
 # define __have_atfcts 1
00db10
-#elif defined IS_IN_rtld
00db10
+#elif IS_IN (rtld)
00db10
 static int __rtld_have_atfcts;
00db10
 # define __have_atfcts __rtld_have_atfcts
00db10
 #endif
00db10
Index: glibc-2.17-c758a686/sysdeps/posix/opendir.c
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/posix/opendir.c
00db10
+++ glibc-2.17-c758a686/sysdeps/posix/opendir.c
00db10
@@ -121,7 +121,7 @@ __opendirat (int dfd, const char *name)
00db10
   flags |= O_CLOEXEC;
00db10
 #endif
00db10
   int fd;
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
   assert (dfd == AT_FDCWD);
00db10
   fd = open_not_cancel_2 (name, flags);
00db10
 #else
00db10
Index: glibc-2.17-c758a686/sysdeps/posix/profil.c
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/posix/profil.c
00db10
+++ glibc-2.17-c758a686/sysdeps/posix/profil.c
00db10
@@ -65,7 +65,7 @@ __profil (u_short *sample_buffer, size_t
00db10
 {
00db10
   struct sigaction act;
00db10
   struct itimerval timer;
00db10
-#ifndef IS_IN_rtld
00db10
+#if !IS_IN (rtld)
00db10
   static struct sigaction oact;
00db10
   static struct itimerval otimer;
00db10
 # define oact_ptr &oact
00db10
Index: glibc-2.17-c758a686/sysdeps/powerpc/dl-procinfo.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/powerpc/dl-procinfo.h
00db10
+++ glibc-2.17-c758a686/sysdeps/powerpc/dl-procinfo.h
00db10
@@ -166,7 +166,7 @@ _dl_string_platform (const char *str)
00db10
   return -1;
00db10
 }
00db10
 
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 static inline int
00db10
 __attribute__ ((unused))
00db10
 _dl_procinfo (unsigned int type, unsigned long int word)
00db10
Index: glibc-2.17-c758a686/sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S
00db10
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S
00db10
@@ -37,7 +37,7 @@ ENTRY (BP_SYM (__longjmp))
00db10
 	addis	r5,r5,_GLOBAL_OFFSET_TABLE_-got_label@ha
00db10
 	addi	r5,r5,_GLOBAL_OFFSET_TABLE_-got_label@l
00db10
 #  ifdef SHARED
00db10
-#   ifdef IS_IN_rtld
00db10
+#   if IS_IN (rtld)
00db10
 	/* Inside ld.so we use the local alias to avoid runtime GOT
00db10
 	   relocations.  */
00db10
 	lwz     r5,_rtld_local_ro@got(r5)
00db10
Index: glibc-2.17-c758a686/sysdeps/powerpc/powerpc32/fpu/setjmp-common.S
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/powerpc/powerpc32/fpu/setjmp-common.S
00db10
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc32/fpu/setjmp-common.S
00db10
@@ -90,7 +90,7 @@ ENTRY (BP_SYM (__sigsetjmp))
00db10
 	mtlr	r6
00db10
 	cfi_same_value (lr)
00db10
 #  ifdef SHARED
00db10
-#   ifdef IS_IN_rtld
00db10
+#   if IS_IN (rtld)
00db10
 	/* Inside ld.so we use the local alias to avoid runtime GOT
00db10
 	   relocations.  */
00db10
 	lwz     r5,_rtld_local_ro@got(r5)
00db10
Index: glibc-2.17-c758a686/sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
00db10
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
00db10
@@ -21,7 +21,7 @@
00db10
    the dl_hwcap field. The assembly is to make the compiler not optimize the
00db10
    test (&_rtld_global_ro != NULL), which is always true in ISO C (but not
00db10
    in that case since _rtld_global_ro might not been realocated yet).  */
00db10
-#if defined(SHARED) && !defined(IS_IN_rtld)
00db10
+#if defined(SHARED) && !IS_IN (rtld)
00db10
 # define __GLRO(value) \
00db10
   ({ volatile void **__p = (volatile void**)(&_rtld_global_ro);	\
00db10
     unsigned long int __ret;					\
00db10
Index: glibc-2.17-c758a686/sysdeps/powerpc/powerpc32/setjmp-common.S
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/powerpc/powerpc32/setjmp-common.S
00db10
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc32/setjmp-common.S
00db10
@@ -64,7 +64,7 @@ ENTRY (BP_SYM (__sigsetjmp))
00db10
 	stw  r29,((JB_GPRS+15)*4)(3)
00db10
 	stw  r30,((JB_GPRS+16)*4)(3)
00db10
 	stw  r31,((JB_GPRS+17)*4)(3)
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 	li   r3,0
00db10
 	blr
00db10
 #else
00db10
Index: glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/__longjmp-common.S
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/powerpc/powerpc64/__longjmp-common.S
00db10
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/__longjmp-common.S
00db10
@@ -31,7 +31,7 @@
00db10
 	.section	".toc","aw"
00db10
 .LC__dl_hwcap:
00db10
 # ifdef SHARED
00db10
-#  ifdef IS_IN_rtld
00db10
+#  if IS_IN (rtld)
00db10
 	/* Inside ld.so we use the local alias to avoid runtime GOT
00db10
 	   relocations.  */
00db10
 	.tc _rtld_local_ro[TC],_rtld_local_ro
00db10
@@ -132,7 +132,7 @@ L(no_vmx):
00db10
 	ld r0,(JB_LR*8)(r3)
00db10
 	ld r14,((JB_GPRS+0)*8)(r3)
00db10
 	lfd fp14,((JB_FPRS+0)*8)(r3)
00db10
-#if defined SHARED && !defined IS_IN_rtld
00db10
+#if defined SHARED && !IS_IN (rtld)
00db10
 	std r2,FRAME_TOC_SAVE(r1)	/* Restore the callers TOC save area.  */
00db10
 #endif
00db10
 	ld r15,((JB_GPRS+1)*8)(r3)
00db10
Index: glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/setjmp-common.S
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/powerpc/powerpc64/setjmp-common.S
00db10
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/setjmp-common.S
00db10
@@ -30,7 +30,7 @@
00db10
 	.section	".toc","aw"
00db10
 .LC__dl_hwcap:
00db10
 # ifdef SHARED
00db10
-#  ifdef IS_IN_rtld
00db10
+#  if IS_IN (rtld)
00db10
 	/* Inside ld.so we use the local alias to avoid runtime GOT
00db10
 	   relocations.  */
00db10
 	.tc _rtld_local_ro[TC],_rtld_local_ro
00db10
@@ -50,7 +50,7 @@ ENTRY (setjmp)
00db10
 	b JUMPTARGET (GLUE(__sigsetjmp,_ent))
00db10
 END (setjmp)
00db10
 
00db10
-#if defined SHARED && !defined IS_IN_rtld && !defined __NO_VMX__
00db10
+#if defined SHARED && !IS_IN (rtld) && !defined __NO_VMX__
00db10
 /* When called from within libc we need a special version of _setjmp
00db10
    that saves r2 since the call won't go via a plt call stub.  See
00db10
    bugz #269.  __GI__setjmp is used in csu/libc-start.c when
00db10
@@ -82,7 +82,7 @@ JUMPTARGET(GLUE(__sigsetjmp,_ent)):
00db10
 	std  r1,(JB_GPR1*8)(3)
00db10
 #endif
00db10
 	mflr r0
00db10
-#if defined SHARED && !defined IS_IN_rtld
00db10
+#if defined SHARED && !IS_IN (rtld)
00db10
 	ld   r5,FRAME_TOC_SAVE(r1)	/* Retrieve the callers TOC.  */
00db10
 	std  r5,(JB_GPR2*8)(3)
00db10
 #else
00db10
@@ -212,7 +212,7 @@ L(no_vmx):
00db10
 #else
00db10
 	li	r6,0
00db10
 #endif
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 	li	r3,0
00db10
 	blr
00db10
 #elif defined SHARED
00db10
Index: glibc-2.17-c758a686/sysdeps/s390/dl-tls.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/s390/dl-tls.h
00db10
+++ glibc-2.17-c758a686/sysdeps/s390/dl-tls.h
00db10
@@ -29,7 +29,7 @@ typedef struct
00db10
 
00db10
 extern unsigned long __tls_get_offset (unsigned long got_offset);
00db10
 
00db10
-# ifdef IS_IN_rtld
00db10
+# if IS_IN (rtld)
00db10
 
00db10
 #  include <shlib-compat.h>
00db10
 
00db10
@@ -78,9 +78,9 @@ __tls_get_offset:\n\
00db10
 1:	.long	__tls_get_addr - 0b\n\
00db10
 ");
00db10
 #  endif
00db10
-# else /* IS_IN_rtld */
00db10
+# else /* IS_IN (rtld) */
00db10
 extern void *__tls_get_addr_internal (tls_index *ti);
00db10
-# endif /* !IS_IN_rtld */
00db10
+# endif /* !IS_IN (rtld) */
00db10
 
00db10
 # define GET_ADDR_OFFSET \
00db10
   (ti->ti_offset - (unsigned long) __builtin_thread_pointer ())
00db10
Index: glibc-2.17-c758a686/sysdeps/s390/s390-32/setjmp.S
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/s390/s390-32/setjmp.S
00db10
+++ glibc-2.17-c758a686/sysdeps/s390/s390-32/setjmp.S
00db10
@@ -57,7 +57,7 @@ ENTRY(__sigsetjmp)
00db10
 #endif
00db10
 	std    %f4,40(%r2)
00db10
 	std    %f6,48(%r2)
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 	/* In ld.so we never save the signal mask.  */
00db10
 	lhi    %r2,0
00db10
 	br     %r14
00db10
Index: glibc-2.17-c758a686/sysdeps/s390/s390-64/setjmp.S
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/s390/s390-64/setjmp.S
00db10
+++ glibc-2.17-c758a686/sysdeps/s390/s390-64/setjmp.S
00db10
@@ -63,7 +63,7 @@ ENTRY(__sigsetjmp)
00db10
 	std    %f13,120(%r2)
00db10
 	std    %f14,128(%r2)
00db10
 	std    %f15,136(%r2)
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 	/* In ld.so we never save the signal mask.  */
00db10
 	lghi   %r2,0
00db10
 	br     %r14
00db10
Index: glibc-2.17-c758a686/sysdeps/sh/sh3/setjmp.S
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/sh/sh3/setjmp.S
00db10
+++ glibc-2.17-c758a686/sysdeps/sh/sh3/setjmp.S
00db10
@@ -46,7 +46,7 @@ ENTRY (__sigsetjmp)
00db10
 	mov.l	r9, @-r4
00db10
 	mov.l	r8, @-r4
00db10
 
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 	/* In ld.so we never save the signal mask.  */
00db10
 	rts
00db10
 	 mov	#0, r0
00db10
Index: glibc-2.17-c758a686/sysdeps/sh/sh4/setjmp.S
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/sh/sh4/setjmp.S
00db10
+++ glibc-2.17-c758a686/sysdeps/sh/sh4/setjmp.S
00db10
@@ -55,7 +55,7 @@ ENTRY (__sigsetjmp)
00db10
 	mov.l	r9, @-r4
00db10
 	mov.l	r8, @-r4
00db10
 
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 	/* In ld.so we never save the signal mask.  */
00db10
 	rts
00db10
 	 mov	#0, r0
00db10
Index: glibc-2.17-c758a686/ports/sysdeps/unix/alpha/sysdep.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/ports/sysdeps/unix/alpha/sysdep.h
00db10
+++ glibc-2.17-c758a686/ports/sysdeps/unix/alpha/sysdep.h
00db10
@@ -26,7 +26,7 @@
00db10
 # include <regdef.h>
00db10
 #endif
00db10
 
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 # include <dl-sysdep.h>         /* Defines RTLD_PRIVATE_ERRNO.  */
00db10
 #endif
00db10
 
00db10
@@ -346,7 +346,7 @@ __LABEL(name)						\
00db10
 
00db10
 #include <stdint.h>
00db10
 
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 # ifdef __ASSEMBLER__
00db10
 #  define PTR_MANGLE(dst, src, tmp)				\
00db10
 	ldah	tmp, __pointer_chk_guard_local($29) !gprelhigh;	\
00db10
Index: glibc-2.17-c758a686/ports/sysdeps/unix/arm/sysdep.S
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/ports/sysdeps/unix/arm/sysdep.S
00db10
+++ glibc-2.17-c758a686/ports/sysdeps/unix/arm/sysdep.S
00db10
@@ -21,7 +21,7 @@
00db10
 #define _ERRNO_H
00db10
 #include <bits/errno.h>
00db10
 
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 # include <dl-sysdep.h>			/* Defines RTLD_PRIVATE_ERRNO.  */
00db10
 #endif
00db10
 
00db10
Index: glibc-2.17-c758a686/sysdeps/unix/i386/sysdep.S
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/unix/i386/sysdep.S
00db10
+++ glibc-2.17-c758a686/sysdeps/unix/i386/sysdep.S
00db10
@@ -22,7 +22,7 @@
00db10
 #include <bp-asm.h>
00db10
 #include <bp-sym.h>
00db10
 
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 # include <dl-sysdep.h>		/* Defines RTLD_PRIVATE_ERRNO.  */
00db10
 #endif
00db10
 
00db10
Index: glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h
00db10
+++ glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h
00db10
@@ -324,7 +324,7 @@
00db10
 #endif	/* __ASSEMBLER__ */
00db10
 
00db10
 /* Pointer mangling is supported for AArch64.  */
00db10
-#if (defined IS_IN_rtld) || \
00db10
+#if (IS_IN (rtld)) || \
00db10
      (!defined SHARED && (!defined NOT_IN_libc \
00db10
 			  || IS_IN (libpthread)))
00db10
 # ifdef __ASSEMBLER__
00db10
Index: glibc-2.17-c758a686/sysdeps/unix/sysv/linux/getcwd.c
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/unix/sysv/linux/getcwd.c
00db10
+++ glibc-2.17-c758a686/sysdeps/unix/sysv/linux/getcwd.c
00db10
@@ -33,7 +33,7 @@
00db10
 
00db10
 /* If we compile the file for use in ld.so we don't need the feature
00db10
    that getcwd() allocates the buffers itself.  */
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 # define NO_ALLOCATION	1
00db10
 #endif
00db10
 
00db10
Index: glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
00db10
+++ glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
00db10
@@ -56,7 +56,7 @@
00db10
 /* Initialize locks to zero.  */
00db10
 #define LLL_MUTEX_LOCK_INITIALIZER (0)
00db10
 
00db10
-#if !defined NOT_IN_libc || defined IS_IN_rtld
00db10
+#if !defined NOT_IN_libc || IS_IN (rtld)
00db10
 /* In libc.so or ld.so all futexes are private.  */
00db10
 # ifdef __ASSUME_PRIVATE_FUTEX
00db10
 #  define __lll_private_flag(fl, private) \
00db10
Index: glibc-2.17-c758a686/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h
00db10
+++ glibc-2.17-c758a686/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h
00db10
@@ -71,7 +71,7 @@
00db10
 #define LLL_SHARED	FUTEX_PRIVATE_FLAG
00db10
 
00db10
 
00db10
-#if !defined NOT_IN_libc || defined IS_IN_rtld
00db10
+#if !defined NOT_IN_libc || IS_IN (rtld)
00db10
 /* In libc.so or ld.so all futexes are private.  */
00db10
 # ifdef __ASSUME_PRIVATE_FUTEX
00db10
 #  define __lll_private_flag(fl, private) \
00db10
Index: glibc-2.17-c758a686/sysdeps/unix/sysv/linux/i386/sysdep.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/unix/sysv/linux/i386/sysdep.h
00db10
+++ glibc-2.17-c758a686/sysdeps/unix/sysv/linux/i386/sysdep.h
00db10
@@ -521,7 +521,7 @@ asm (".L__X'%ebx = 1\n\t"
00db10
 
00db10
 
00db10
 /* Pointer mangling support.  */
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 /* We cannot use the thread descriptor because in ld.so we use setjmp
00db10
    earlier than the descriptor is initialized.  Using a global variable
00db10
    is too complicated here since we have no PC-relative addressing mode.  */
00db10
Index: glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/ports/sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h
00db10
+++ glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h
00db10
@@ -50,7 +50,7 @@
00db10
 #define LLL_SHARED	FUTEX_PRIVATE_FLAG
00db10
 
00db10
 
00db10
-#if !defined NOT_IN_libc || defined IS_IN_rtld
00db10
+#if !defined NOT_IN_libc || IS_IN (rtld)
00db10
 /* In libc.so or ld.so all futexes are private.  */
00db10
 # ifdef __ASSUME_PRIVATE_FUTEX
00db10
 #  define __lll_private_flag(fl, private) \
00db10
Index: glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/ia64/setjmp.S
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/ports/sysdeps/unix/sysv/linux/ia64/setjmp.S
00db10
+++ glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/ia64/setjmp.S
00db10
@@ -179,7 +179,7 @@ ENTRY(__sigsetjmp)
00db10
 	;;
00db10
 	st8.nta [r2]=r25		// ar.unat
00db10
 	st8.nta [r3]=in0		// &__jmp_buf
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 	/* In ld.so we never save the signal mask.  */
00db10
 	;;
00db10
 #else
00db10
Index: glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/ia64/sysdep.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/ports/sysdeps/unix/sysv/linux/ia64/sysdep.h
00db10
+++ glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/ia64/sysdep.h
00db10
@@ -361,7 +361,7 @@
00db10
 #endif /* not __ASSEMBLER__ */
00db10
 
00db10
 /* Pointer mangling support.  */
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 /* We cannot use the thread descriptor because in ld.so we use setjmp
00db10
    earlier than the descriptor is initialized.  */
00db10
 #else
00db10
Index: glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/ports/sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h
00db10
+++ glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h
00db10
@@ -23,7 +23,7 @@
00db10
 
00db10
 #ifdef SHARED
00db10
 
00db10
-# ifdef IS_IN_rtld
00db10
+# if IS_IN (rtld)
00db10
 # define M68K_VDSO_SYMBOL(name) __rtld_##name
00db10
 # define STR_M68K_VDSO_SYMBOL(name) "__rtld_" #name
00db10
 # else
00db10
@@ -35,7 +35,7 @@
00db10
 
00db10
 /* We define __rtld_* copies for rtld.
00db10
    We need them visible in libc to initialize.  */
00db10
-#  if defined IS_IN_rtld || !defined NOT_IN_libc
00db10
+#  if IS_IN (rtld) || !defined NOT_IN_libc
00db10
 extern void *__rtld___vdso_read_tp;
00db10
 extern void *__rtld___vdso_atomic_cmpxchg_32;
00db10
 extern void *__rtld___vdso_atomic_barrier;
00db10
@@ -44,14 +44,14 @@ extern void *__rtld___vdso_atomic_barrie
00db10
 extern void __vdso_read_tp_stub (void);
00db10
 extern void __vdso_atomic_cmpxchg_32_stub (void);
00db10
 extern void __vdso_atomic_barrier_stub (void);
00db10
-#  endif /* IS_IN_rtld || !NOT_IN_libc */
00db10
+#  endif /* IS_IN (rtld) || !NOT_IN_libc */
00db10
 
00db10
 /* RTLD should only use its own copies.  */
00db10
-#  ifndef IS_IN_rtld
00db10
+#  if !IS_IN (rtld)
00db10
 extern void *__vdso_read_tp;
00db10
 extern void *__vdso_atomic_cmpxchg_32;
00db10
 extern void *__vdso_atomic_barrier;
00db10
-#  endif /* !IS_IN_rtld */
00db10
+#  endif /* !IS_IN (rtld) */
00db10
 
00db10
 # endif /* !__ASSEMBLER__ */
00db10
 
00db10
Index: glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/m68k/m68k-helpers.S
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/ports/sysdeps/unix/sysv/linux/m68k/m68k-helpers.S
00db10
+++ glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/m68k/m68k-helpers.S
00db10
@@ -51,7 +51,7 @@ END (__vdso_read_tp_stub)
00db10
    equivalent helper function (which clobbers fewer registers than
00db10
    a normal function call) in a vdso; tail call to the
00db10
    helper.  */
00db10
-# ifdef IS_IN_rtld
00db10
+# if IS_IN (rtld)
00db10
 /* rtld gets a hidden copy of __m68k_read_tp.  */
00db10
 	.hidden __m68k_read_tp
00db10
 # endif
00db10
Index: glibc-2.17-c758a686/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
00db10
+++ glibc-2.17-c758a686/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
00db10
@@ -272,7 +272,7 @@
00db10
 
00db10
 
00db10
 /* Pointer mangling support.  */
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 /* We cannot use the thread descriptor because in ld.so we use setjmp
00db10
    earlier than the descriptor is initialized.  */
00db10
 #else
00db10
Index: glibc-2.17-c758a686/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
00db10
+++ glibc-2.17-c758a686/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
00db10
@@ -282,7 +282,7 @@
00db10
 
00db10
 
00db10
 /* Pointer mangling support.  */
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 /* We cannot use the thread descriptor because in ld.so we use setjmp
00db10
    earlier than the descriptor is initialized.  */
00db10
 #else
00db10
Index: glibc-2.17-c758a686/nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h
00db10
+++ glibc-2.17-c758a686/nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h
00db10
@@ -51,7 +51,7 @@
00db10
 #define LLL_SHARED	FUTEX_PRIVATE_FLAG
00db10
 
00db10
 
00db10
-#if !defined NOT_IN_libc || defined IS_IN_rtld
00db10
+#if !defined NOT_IN_libc || IS_IN (rtld)
00db10
 /* In libc.so or ld.so all futexes are private.  */
00db10
 # ifdef __ASSUME_PRIVATE_FUTEX
00db10
 #  define __lll_private_flag(fl, private) \
00db10
Index: glibc-2.17-c758a686/sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
00db10
+++ glibc-2.17-c758a686/sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
00db10
@@ -367,7 +367,7 @@
00db10
     _ret; })
00db10
 
00db10
 /* Pointer mangling support.  */
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 /* We cannot use the thread descriptor because in ld.so we use setjmp
00db10
    earlier than the descriptor is initialized.  */
00db10
 #else
00db10
Index: glibc-2.17-c758a686/sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
00db10
+++ glibc-2.17-c758a686/sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
00db10
@@ -373,7 +373,7 @@
00db10
     _ret; })
00db10
 
00db10
 /* Pointer mangling support.  */
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 /* We cannot use the thread descriptor because in ld.so we use setjmp
00db10
    earlier than the descriptor is initialized.  */
00db10
 #else
00db10
Index: glibc-2.17-c758a686/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h
00db10
+++ glibc-2.17-c758a686/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h
00db10
@@ -50,7 +50,7 @@
00db10
 #define LLL_SHARED     FUTEX_PRIVATE_FLAG
00db10
 
00db10
 
00db10
-#if !defined NOT_IN_libc || defined IS_IN_rtld
00db10
+#if !defined NOT_IN_libc || IS_IN (rtld)
00db10
 /* In libc.so or ld.so all futexes are private.  */
00db10
 # ifdef __ASSUME_PRIVATE_FUTEX
00db10
 #  define __lll_private_flag(fl, private) \
00db10
Index: glibc-2.17-c758a686/sysdeps/unix/sysv/linux/sh/sysdep.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/unix/sysv/linux/sh/sysdep.h
00db10
+++ glibc-2.17-c758a686/sysdeps/unix/sysv/linux/sh/sysdep.h
00db10
@@ -338,7 +338,7 @@
00db10
 #endif	/* __ASSEMBLER__ */
00db10
 
00db10
 /* Pointer mangling support.  */
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 /* We cannot use the thread descriptor because in ld.so we use setjmp
00db10
    earlier than the descriptor is initialized.  Using a global variable
00db10
    is too complicated here since we have no PC-relative addressing mode.  */
00db10
Index: glibc-2.17-c758a686/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h
00db10
+++ glibc-2.17-c758a686/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h
00db10
@@ -56,7 +56,7 @@ extern void __cpu_relax (void);
00db10
 #define BUSY_WAIT_NOP	__cpu_relax ()
00db10
 #endif
00db10
 
00db10
-#if !defined NOT_IN_libc || defined IS_IN_rtld
00db10
+#if !defined NOT_IN_libc || IS_IN (rtld)
00db10
 /* In libc.so or ld.so all futexes are private.  */
00db10
 # ifdef __ASSUME_PRIVATE_FUTEX
00db10
 #  define __lll_private_flag(fl, private) \
00db10
Index: glibc-2.17-c758a686/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
00db10
+++ glibc-2.17-c758a686/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
00db10
@@ -22,7 +22,7 @@
00db10
 
00db10
 #include <sysdeps/unix/sysv/linux/sparc/sysdep.h>
00db10
 
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 # include <dl-sysdep.h>		/* Defines RTLD_PRIVATE_ERRNO.  */
00db10
 #endif
00db10
 #include <tls.h>
00db10
@@ -126,7 +126,7 @@ ENTRY(name);					\
00db10
 #endif	/* __ASSEMBLER__ */
00db10
 
00db10
 /* Pointer mangling support.  */
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 /* We cannot use the thread descriptor because in ld.so we use setjmp
00db10
    earlier than the descriptor is initialized.  */
00db10
 #else
00db10
Index: glibc-2.17-c758a686/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
00db10
+++ glibc-2.17-c758a686/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
00db10
@@ -22,7 +22,7 @@
00db10
 
00db10
 #include <sysdeps/unix/sysv/linux/sparc/sysdep.h>
00db10
 
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 # include <dl-sysdep.h>		/* Defines RTLD_PRIVATE_ERRNO.  */
00db10
 #endif
00db10
 #include <tls.h>
00db10
@@ -141,7 +141,7 @@ ENTRY(name);					\
00db10
 #define STACK_BIAS	2047
00db10
 
00db10
 /* Pointer mangling support.  */
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 /* We cannot use the thread descriptor because in ld.so we use setjmp
00db10
    earlier than the descriptor is initialized.  */
00db10
 #else
00db10
Index: glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/tile/sysdep.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/ports/sysdeps/unix/sysv/linux/tile/sysdep.h
00db10
+++ glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/tile/sysdep.h
00db10
@@ -205,7 +205,7 @@
00db10
 #endif /* not __ASSEMBLER__ */
00db10
 
00db10
 /* Pointer mangling support.  */
00db10
-#if defined NOT_IN_libc && defined IS_IN_rtld
00db10
+#if defined NOT_IN_libc && IS_IN (rtld)
00db10
 /* We cannot use the thread descriptor because in ld.so we use setjmp
00db10
    earlier than the descriptor is initialized.  */
00db10
 #else
00db10
Index: glibc-2.17-c758a686/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
00db10
+++ glibc-2.17-c758a686/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
00db10
@@ -72,7 +72,7 @@
00db10
 
00db10
 #ifndef __ASSEMBLER__
00db10
 
00db10
-#if !defined NOT_IN_libc || defined IS_IN_rtld
00db10
+#if !defined NOT_IN_libc || IS_IN (rtld)
00db10
 /* In libc.so or ld.so all futexes are private.  */
00db10
 # ifdef __ASSUME_PRIVATE_FUTEX
00db10
 #  define __lll_private_flag(fl, private) \
00db10
Index: glibc-2.17-c758a686/sysdeps/unix/sysv/linux/x86_64/sysdep.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/unix/sysv/linux/x86_64/sysdep.h
00db10
+++ glibc-2.17-c758a686/sysdeps/unix/sysv/linux/x86_64/sysdep.h
00db10
@@ -24,7 +24,7 @@
00db10
 #include <bp-asm.h>
00db10
 #include <tls.h>
00db10
 
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 # include <dl-sysdep.h>		/* Defines RTLD_PRIVATE_ERRNO.  */
00db10
 #endif
00db10
 
00db10
@@ -395,7 +395,7 @@
00db10
 
00db10
 
00db10
 /* Pointer mangling support.  */
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 /* We cannot use the thread descriptor because in ld.so we use setjmp
00db10
    earlier than the descriptor is initialized.  */
00db10
 # ifdef __ASSEMBLER__
00db10
Index: glibc-2.17-c758a686/sysdeps/unix/x86_64/sysdep.S
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/unix/x86_64/sysdep.S
00db10
+++ glibc-2.17-c758a686/sysdeps/unix/x86_64/sysdep.S
00db10
@@ -22,7 +22,7 @@
00db10
 #include <bp-sym.h>
00db10
 #include <tls.h>
00db10
 
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 # include <dl-sysdep.h>		/* Defines RTLD_PRIVATE_ERRNO.  */
00db10
 #endif
00db10
 
00db10
Index: glibc-2.17-c758a686/sysdeps/x86_64/setjmp.S
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/sysdeps/x86_64/setjmp.S
00db10
+++ glibc-2.17-c758a686/sysdeps/x86_64/setjmp.S
00db10
@@ -54,7 +54,7 @@ ENTRY (__sigsetjmp)
00db10
 #endif
00db10
 	movq %rax, (JB_PC*8)(%rdi)
00db10
 
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 	/* In ld.so we never save the signal mask.  */
00db10
 	xorl %eax, %eax
00db10
 	retq
00db10
Index: glibc-2.17-c758a686/include/unistd.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/include/unistd.h
00db10
+++ glibc-2.17-c758a686/include/unistd.h
00db10
@@ -151,7 +151,7 @@ libc_hidden_proto (__sbrk)
00db10
    environment variables that normally affect them.  */
00db10
 extern int __libc_enable_secure attribute_relro;
00db10
 extern int __libc_enable_secure_decided;
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 /* XXX The #ifdef should go.  */
00db10
 extern int __libc_enable_secure_internal attribute_relro attribute_hidden;
00db10
 #endif
00db10
Index: glibc-2.17-c758a686/nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h
00db10
+++ glibc-2.17-c758a686/nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h
00db10
@@ -27,7 +27,7 @@
00db10
    all the libc functions that ld.so uses are called without PLT and always
00db10
    get the versions linked into ld.so rather than the libc ones.  */
00db10
 
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 # define RTLD_PRIVATE_ERRNO 1
00db10
 #else
00db10
 # define RTLD_PRIVATE_ERRNO 0
00db10
Index: glibc-2.17-c758a686/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
00db10
+++ glibc-2.17-c758a686/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
00db10
@@ -52,7 +52,7 @@
00db10
 #define LLL_PRIVATE	0
00db10
 #define LLL_SHARED	FUTEX_PRIVATE_FLAG
00db10
 
00db10
-#if !defined NOT_IN_libc || defined IS_IN_rtld
00db10
+#if !defined NOT_IN_libc || IS_IN (rtld)
00db10
 /* In libc.so or ld.so all futexes are private.  */
00db10
 # ifdef __ASSUME_PRIVATE_FUTEX
00db10
 #  define __lll_private_flag(fl, private) \
00db10
Index: glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/ports/sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h
00db10
+++ glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h
00db10
@@ -49,7 +49,7 @@
00db10
 #define LLL_SHARED	FUTEX_PRIVATE_FLAG
00db10
 
00db10
 
00db10
-#if !defined NOT_IN_libc || defined IS_IN_rtld
00db10
+#if !defined NOT_IN_libc || IS_IN (rtld)
00db10
 /* In libc.so or ld.so all futexes are private.  */
00db10
 # ifdef __ASSUME_PRIVATE_FUTEX
00db10
 #  define __lll_private_flag(fl, private) \
00db10
Index: glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/ports/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h
00db10
+++ glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h
00db10
@@ -50,7 +50,7 @@
00db10
 #define LLL_SHARED	FUTEX_PRIVATE_FLAG
00db10
 
00db10
 
00db10
-#if !defined NOT_IN_libc || defined IS_IN_rtld
00db10
+#if !defined NOT_IN_libc || IS_IN (rtld)
00db10
 /* In libc.so or ld.so all futexes are private.  */
00db10
 # ifdef __ASSUME_PRIVATE_FUTEX
00db10
 #  define __lll_private_flag(fl, private) \
00db10
Index: glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h
00db10
+++ glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h
00db10
@@ -48,7 +48,7 @@
00db10
 #define LLL_SHARED	FUTEX_PRIVATE_FLAG
00db10
 
00db10
 
00db10
-#if !defined NOT_IN_libc || defined IS_IN_rtld
00db10
+#if !defined NOT_IN_libc || IS_IN (rtld)
00db10
 /* In libc.so or ld.so all futexes are private.  */
00db10
 # ifdef __ASSUME_PRIVATE_FUTEX
00db10
 #  define __lll_private_flag(fl, private) \
00db10
Index: glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/ports/sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h
00db10
+++ glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h
00db10
@@ -27,7 +27,7 @@
00db10
    all the libc functions that ld.so uses are called without PLT and always
00db10
    get the versions linked into ld.so rather than the libc ones.  */
00db10
 
00db10
-#ifdef IS_IN_rtld
00db10
+#if IS_IN (rtld)
00db10
 # define RTLD_PRIVATE_ERRNO 1
00db10
 #else
00db10
 # define RTLD_PRIVATE_ERRNO 0
00db10
Index: glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/ports/sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h
00db10
+++ glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h
00db10
@@ -50,7 +50,7 @@
00db10
 #define LLL_SHARED	FUTEX_PRIVATE_FLAG
00db10
 
00db10
 
00db10
-#if !defined NOT_IN_libc || defined IS_IN_rtld
00db10
+#if !defined NOT_IN_libc || IS_IN (rtld)
00db10
 /* In libc.so or ld.so all futexes are private.  */
00db10
 # ifdef __ASSUME_PRIVATE_FUTEX
00db10
 #  define __lll_private_flag(fl, private) \
00db10
Index: glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/ports/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
00db10
+++ glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
00db10
@@ -48,7 +48,7 @@
00db10
 #define LLL_SHARED	FUTEX_PRIVATE_FLAG
00db10
 
00db10
 
00db10
-#if !defined NOT_IN_libc || defined IS_IN_rtld
00db10
+#if !defined NOT_IN_libc || IS_IN (rtld)
00db10
 /* In libc.so or ld.so all futexes are private.  */
00db10
 # ifdef __ASSUME_PRIVATE_FUTEX
00db10
 #  define __lll_private_flag(fl, private) \
00db10
Index: glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/ports/sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h
00db10
+++ glibc-2.17-c758a686/ports/sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h
00db10
@@ -50,7 +50,7 @@
00db10
 #define LLL_SHARED	FUTEX_PRIVATE_FLAG
00db10
 
00db10
 
00db10
-#if !defined NOT_IN_libc || defined IS_IN_rtld
00db10
+#if !defined NOT_IN_libc || IS_IN (rtld)
00db10
 /* In libc.so or ld.so all futexes are private.  */
00db10
 # ifdef __ASSUME_PRIVATE_FUTEX
00db10
 #  define __lll_private_flag(fl, private) \