]> sourceware.org Git - glibc.git/commitdiff
Remove unnecessary uses of NOT_IN_libc
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 21 Aug 2014 04:56:46 +0000 (10:26 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 21 Aug 2014 04:56:46 +0000 (10:26 +0530)
If a IS_IN_* macro is defined, then NOT_IN_libc is always defined,
except obviously for IS_IN_libc.  There's no need to check for both.
Verified on x86_64 and i686 that the source is unchanged.

       * include/libc-symbols.h: Remove unnecessary check for
       NOT_IN_libc.
       * nptl/pthreadP.h: Likewise.
       * sysdeps/aarch64/setjmp.S: Likewise.
       * sysdeps/alpha/setjmp.S: Likewise.
       * sysdeps/arm/sysdep.h: Likewise.
       * sysdeps/i386/setjmp.S: Likewise.
       * sysdeps/m68k/setjmp.c: Likewise.
       * sysdeps/posix/getcwd.c: Likewise.
       * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
       * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
       * sysdeps/s390/s390-32/setjmp.S: Likewise.
       * sysdeps/s390/s390-64/setjmp.S: Likewise.
       * sysdeps/sh/sh3/setjmp.S: Likewise.
       * sysdeps/sh/sh4/setjmp.S: Likewise.
       * sysdeps/unix/alpha/sysdep.h: Likewise.
       * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
       * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
       * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
       * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
       * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
       * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
       * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
       * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
       * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
       * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
       * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
       * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
       * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
       * sysdeps/x86_64/setjmp.S: Likewise.

30 files changed:
ChangeLog
include/libc-symbols.h
nptl/pthreadP.h
sysdeps/aarch64/setjmp.S
sysdeps/alpha/setjmp.S
sysdeps/arm/sysdep.h
sysdeps/i386/setjmp.S
sysdeps/m68k/setjmp.c
sysdeps/posix/getcwd.c
sysdeps/powerpc/powerpc32/setjmp-common.S
sysdeps/powerpc/powerpc64/setjmp-common.S
sysdeps/s390/s390-32/setjmp.S
sysdeps/s390/s390-64/setjmp.S
sysdeps/sh/sh3/setjmp.S
sysdeps/sh/sh4/setjmp.S
sysdeps/unix/alpha/sysdep.h
sysdeps/unix/sysv/linux/aarch64/sysdep.h
sysdeps/unix/sysv/linux/i386/sysdep.h
sysdeps/unix/sysv/linux/ia64/setjmp.S
sysdeps/unix/sysv/linux/ia64/sysdep.h
sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
sysdeps/unix/sysv/linux/sh/sysdep.h
sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
sysdeps/unix/sysv/linux/tile/sysdep.h
sysdeps/unix/sysv/linux/x86_64/sysdep.h
sysdeps/x86_64/setjmp.S

index 7c01369395e9158ca642efb72675ac32438a951d..75cfd5c5413d79d5d8323b3cb447a0da499a8475 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,36 @@
+2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * include/libc-symbols.h: Remove unnecessary check for
+       NOT_IN_libc.
+       * nptl/pthreadP.h: Likewise.
+       * sysdeps/aarch64/setjmp.S: Likewise.
+       * sysdeps/alpha/setjmp.S: Likewise.
+       * sysdeps/arm/sysdep.h: Likewise.
+       * sysdeps/i386/setjmp.S: Likewise.
+       * sysdeps/m68k/setjmp.c: Likewise.
+       * sysdeps/posix/getcwd.c: Likewise.
+       * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
+       * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
+       * sysdeps/s390/s390-32/setjmp.S: Likewise.
+       * sysdeps/s390/s390-64/setjmp.S: Likewise.
+       * sysdeps/sh/sh3/setjmp.S: Likewise.
+       * sysdeps/sh/sh4/setjmp.S: Likewise.
+       * sysdeps/unix/alpha/sysdep.h: Likewise.
+       * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
+       * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
+       * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
+       * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
+       * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
+       * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
+       * sysdeps/x86_64/setjmp.S: Likewise.
+
 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
 
        [BZ #17263]
index 48edadcfe0d03f7ca8f4d97c9979f1bc11b1c3ca..d4ab1f33de430ee3dbcefdc746939152dc893bf1 100644 (file)
@@ -584,7 +584,7 @@ for linking")
 # define libc_hidden_data_ver(local, name)
 #endif
 
-#if defined NOT_IN_libc && defined IS_IN_rtld
+#ifdef IS_IN_rtld
 # define rtld_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
 # define rtld_hidden_tls_proto(name, attrs...) hidden_tls_proto (name, ##attrs)
 # define rtld_hidden_def(name) hidden_def (name)
@@ -604,7 +604,7 @@ for linking")
 # define rtld_hidden_data_ver(local, name)
 #endif
 
-#if defined NOT_IN_libc && defined IS_IN_libm
+#ifdef IS_IN_libm
 # define libm_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
 # define libm_hidden_tls_proto(name, attrs...) hidden_tls_proto (name, ##attrs)
 # define libm_hidden_def(name) hidden_def (name)
@@ -624,7 +624,7 @@ for linking")
 # define libm_hidden_data_ver(local, name)
 #endif
 
-#if defined NOT_IN_libc && defined IS_IN_libresolv
+#ifdef IS_IN_libresolv
 # define libresolv_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
 # define libresolv_hidden_tls_proto(name, attrs...) \
   hidden_tls_proto (name, ##attrs)
@@ -645,7 +645,7 @@ for linking")
 # define libresolv_hidden_data_ver(local, name)
 #endif
 
-#if defined NOT_IN_libc && defined IS_IN_librt
+#ifdef IS_IN_librt
 # define librt_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
 # define librt_hidden_tls_proto(name, attrs...) \
   hidden_tls_proto (name, ##attrs)
@@ -666,7 +666,7 @@ for linking")
 # define librt_hidden_data_ver(local, name)
 #endif
 
-#if defined NOT_IN_libc && defined IS_IN_libdl
+#ifdef IS_IN_libdl
 # define libdl_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
 # define libdl_hidden_tls_proto(name, attrs...) \
   hidden_tls_proto (name, ##attrs)
@@ -687,7 +687,7 @@ for linking")
 # define libdl_hidden_data_ver(local, name)
 #endif
 
-#if defined NOT_IN_libc && defined IS_IN_libnss_files
+#ifdef IS_IN_libnss_files
 # define libnss_files_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
 # define libnss_files_hidden_tls_proto(name, attrs...) \
   hidden_tls_proto (name, ##attrs)
@@ -708,7 +708,7 @@ for linking")
 # define libnss_files_hidden_data_ver(local, name)
 #endif
 
-#if defined NOT_IN_libc && defined IS_IN_libnsl
+#ifdef IS_IN_libnsl
 # define libnsl_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
 # define libnsl_hidden_tls_proto(name, attrs...) \
   hidden_tls_proto (name, ##attrs)
@@ -729,7 +729,7 @@ for linking")
 # define libnsl_hidden_data_ver(local, name)
 #endif
 
-#if defined NOT_IN_libc && defined IS_IN_libnss_nisplus
+#ifdef IS_IN_libnss_nisplus
 # define libnss_nisplus_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
 # define libnss_nisplus_hidden_tls_proto(name, attrs...) \
   hidden_tls_proto (name, ##attrs)
@@ -758,7 +758,7 @@ for linking")
 # define HIDDEN_BUILTIN_JUMPTARGET(name) HIDDEN_JUMPTARGET(name)
 #endif
 
-#if defined NOT_IN_libc && defined IS_IN_libutil
+#ifdef IS_IN_libutil
 # define libutil_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
 # define libutil_hidden_tls_proto(name, attrs...) \
   hidden_tls_proto (name, ##attrs)
index 4226473d5926094f3c39b772f508a09d29ce7246..d4415ba933cc6b92c7e3f015c849dd76095b8b9c 100644 (file)
@@ -252,7 +252,7 @@ extern void __pthread_register_cancel (__pthread_unwind_buf_t *__buf)
      __cleanup_fct_attribute;
 extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf)
      __cleanup_fct_attribute;
-#if defined NOT_IN_libc && defined IS_IN_libpthread
+#ifdef IS_IN_libpthread
 hidden_proto (__pthread_unwind)
 hidden_proto (__pthread_unwind_next)
 hidden_proto (__pthread_register_cancel)
@@ -296,13 +296,13 @@ __do_cancel (void)
 # define LIBC_CANCEL_HANDLED() \
   __asm (".globl " __SYMBOL_PREFIX "__libc_enable_asynccancel"); \
   __asm (".globl " __SYMBOL_PREFIX "__libc_disable_asynccancel")
-#elif defined NOT_IN_libc && defined IS_IN_libpthread
+#elif defined IS_IN_libpthread
 # define LIBC_CANCEL_ASYNC() CANCEL_ASYNC ()
 # define LIBC_CANCEL_RESET(val) CANCEL_RESET (val)
 # define LIBC_CANCEL_HANDLED() \
   __asm (".globl " __SYMBOL_PREFIX "__pthread_enable_asynccancel"); \
   __asm (".globl " __SYMBOL_PREFIX "__pthread_disable_asynccancel")
-#elif defined NOT_IN_libc && defined IS_IN_librt
+#elif defined IS_IN_librt
 # define LIBC_CANCEL_ASYNC() \
   __librt_enable_asynccancel ()
 # define LIBC_CANCEL_RESET(val) \
@@ -341,7 +341,7 @@ extern int __make_stacks_executable (void **stack_endp)
 
 /* longjmp handling.  */
 extern void __pthread_cleanup_upto (__jmp_buf target, char *targetframe);
-#if defined NOT_IN_libc && defined IS_IN_libpthread
+#ifdef IS_IN_libpthread
 hidden_proto (__pthread_cleanup_upto)
 #endif
 
@@ -486,7 +486,7 @@ extern int __pthread_enable_asynccancel (void) attribute_hidden;
 extern void __pthread_disable_asynccancel (int oldtype)
      internal_function attribute_hidden;
 
-#if defined NOT_IN_libc && defined IS_IN_libpthread
+#ifdef IS_IN_libpthread
 hidden_proto (__pthread_mutex_init)
 hidden_proto (__pthread_mutex_destroy)
 hidden_proto (__pthread_mutex_lock)
index fd393199205f2c495b6cd5b284f9ec743b4a6a02..d548dd50184a78b075de0f98ead410d1ec79c121 100644 (file)
@@ -63,7 +63,7 @@ ENTRY (__sigsetjmp)
        mov     x2,  sp
        str     x2,  [x0, #JB_SP<<3]
 #endif
-#if defined NOT_IN_libc && defined IS_IN_rtld
+#ifdef IS_IN_rtld
        /* In ld.so we never save the signal mask */
        mov     w0, #0
        RET
index f79837c86b112a685579e0578ad62a52d8278d63..840b56068dee7ff6464b63f4715e8be26d7bc381 100644 (file)
@@ -86,7 +86,7 @@ $sigsetjmp_local:
        ldq     ra, 0(sp)
        addq    sp, 16, sp
        ret
-#elif defined NOT_IN_libc && defined IS_IN_rtld
+#elif defined IS_IN_rtld
        /* In ld.so we never save the signal mask.  */
        mov     0, v0
        ret
index 84b07e1476584cb1ef26f08eea2d84774a1b2bfd..4c41213c37d5d06965189491df8ae1964518f77c 100644 (file)
 #endif
 
 /* Pointer mangling support.  */
-#if (defined NOT_IN_libc && defined IS_IN_rtld) || \
-  (!defined SHARED && (!defined NOT_IN_libc || defined IS_IN_libpthread))
+#if (defined IS_IN_rtld || \
+     (!defined SHARED && (!defined NOT_IN_libc || defined IS_IN_libpthread)))
 # ifdef __ASSEMBLER__
 #  define PTR_MANGLE_LOAD(guard, tmp)                                  \
   LDST_PCREL(ldr, guard, tmp, C_SYMBOL_NAME(__pointer_chk_guard_local));
index b7637debeede7da7d22f2dd653a77d791d493fe9..7204ce0eb585263e6b335eac950713fecd1ea981 100644 (file)
@@ -46,7 +46,7 @@ ENTRY (__sigsetjmp)
        movl %ecx, (JB_PC*4)(%eax)
        movl %ebp, (JB_BP*4)(%eax) /* Save caller's frame pointer.  */
 
-#if defined NOT_IN_libc && defined IS_IN_rtld
+#ifdef IS_IN_rtld
        /* In ld.so we never save the signal mask.  */
        xorl %eax, %eax
        ret
index cf742eecd020482559d85e99055d1c1bcdc843b3..4ba50a139d33d241641a0cd86228b82417b3e007 100644 (file)
@@ -57,7 +57,7 @@ __sigsetjmp (jmp_buf env, int savemask)
                : : "m" (env[0].__jmpbuf[0].__fpregs[0]));
 #endif
 
-#if defined NOT_IN_libc && defined IS_IN_rtld
+#ifdef IS_IN_rtld
   /* In ld.so we never save the signal mask.  */
   return 0;
 #else
index 61924d57489817044aaa9b6cfbbb457fc5bb0d87..6201916712e8870b3c4a8ca77b82ecaed6420de0 100644 (file)
@@ -206,7 +206,7 @@ extern char *alloca ();
 
 #ifdef __ASSUME_ATFCTS
 # define __have_atfcts 1
-#elif defined NOT_IN_libc && defined IS_IN_rtld
+#elif defined IS_IN_rtld
 static int __rtld_have_atfcts;
 # define __have_atfcts __rtld_have_atfcts
 #endif
index dcdd336fc264c55c428c247a1231f37d6669df80..681b540e8f2161357faf6a92d2677369a0fa69d8 100644 (file)
@@ -69,7 +69,7 @@ ENTRY (__sigsetjmp_symbol)
        SAVE_GP (29)
        SAVE_GP (30)
        SAVE_GP (31)
-#if defined NOT_IN_libc && defined IS_IN_rtld
+#ifdef IS_IN_rtld
        li   r3,0
        blr
 #else
index c0c77136a199222569b5e7d56fcac94ef7cb916e..704ee97dc13b8b4bdd75195f730b642b26ac103c 100644 (file)
@@ -213,7 +213,7 @@ L(no_vmx):
 #else
        li      r6,0
 #endif
-#if defined NOT_IN_libc && defined IS_IN_rtld
+#ifdef IS_IN_rtld
        li      r3,0
        blr
 #elif defined SHARED
index e940d71a9e909c72eb1f04e232a1710b3978800b..3ebc813e78469eade2bed10113c8c36d021853a2 100644 (file)
@@ -65,7 +65,7 @@ ENTRY(__sigsetjmp)
 #endif
        std    %f4,40(%r2)
        std    %f6,48(%r2)
-#if defined NOT_IN_libc && defined IS_IN_rtld
+#ifdef IS_IN_rtld
        /* In ld.so we never save the signal mask.  */
        lhi    %r2,0
        br     %r14
index 7cbb9e8cccdaf10a482ff99ca24585802d615326..faa2784d1707cb5f50f4de6bc6e231debaec082b 100644 (file)
@@ -71,7 +71,7 @@ ENTRY(__sigsetjmp)
        std    %f13,120(%r2)
        std    %f14,128(%r2)
        std    %f15,136(%r2)
-#if defined NOT_IN_libc && defined IS_IN_rtld
+#ifdef IS_IN_rtld
        /* In ld.so we never save the signal mask.  */
        lghi   %r2,0
        br     %r14
index e123e4288b793acb43007258ab7b9862004a9544..f3a8e6abbb522155ac28f17db99eff4b49e6f630 100644 (file)
@@ -46,7 +46,7 @@ ENTRY (__sigsetjmp)
        mov.l   r9, @-r4
        mov.l   r8, @-r4
 
-#if defined NOT_IN_libc && defined IS_IN_rtld
+#ifdef IS_IN_rtld
        /* In ld.so we never save the signal mask.  */
        rts
         mov    #0, r0
index d5ac02e3bdbc4f2bc15b4cc688ead05aca86ab63..4bbd6661a946e58d306059d7c2d2ae288ee3a55a 100644 (file)
@@ -55,7 +55,7 @@ ENTRY (__sigsetjmp)
        mov.l   r9, @-r4
        mov.l   r8, @-r4
 
-#if defined NOT_IN_libc && defined IS_IN_rtld
+#ifdef IS_IN_rtld
        /* In ld.so we never save the signal mask.  */
        rts
         mov    #0, r0
index 0c40ca64bc6b3aadd1ed963eef98c460aeb6c19d..17dad91819295f2b394860e63c2155570883d16c 100644 (file)
@@ -349,7 +349,7 @@ __LABEL(name)                                               \
    we don't deoptimize things by placing the pointer check value there.  */
 
 #ifdef __ASSEMBLER__
-# if defined NOT_IN_libc && defined IS_IN_rtld
+# ifdef IS_IN_rtld
 #  define PTR_MANGLE(dst, src, tmp)                            \
        ldah    tmp, __pointer_chk_guard_local($29) !gprelhigh; \
        ldq     tmp, __pointer_chk_guard_local(tmp) !gprellow;  \
@@ -371,8 +371,9 @@ __LABEL(name)                                               \
 # define PTR_DEMANGLE2(dst, tmp)  PTR_MANGLE2(dst, dst, tmp)
 #else
 # include <stdint.h>
-# if (defined NOT_IN_libc && defined IS_IN_rtld) \
-     || (!defined SHARED && (!defined NOT_IN_libc || defined IS_IN_libpthread))
+# if (defined IS_IN_rtld \
+      || (!defined SHARED && (!defined NOT_IN_libc \
+                             || defined IS_IN_libpthread)))
 extern uintptr_t __pointer_chk_guard_local attribute_relro attribute_hidden;
 #  define PTR_MANGLE(var) \
        (var) = (__typeof (var)) ((uintptr_t) (var) ^ __pointer_chk_guard_local)
index 3f3c7096834dcd0fda6a1a779e7b6f8e6c264106..84999f115a68db43065de73a3fadf34db4cb1c77 100644 (file)
 #endif /* __ASSEMBLER__ */
 
 /* Pointer mangling is supported for AArch64.  */
-#if (defined NOT_IN_libc && defined IS_IN_rtld) || \
-  (!defined SHARED && (!defined NOT_IN_libc || defined IS_IN_libpthread))
+#if (defined IS_IN_rtld || \
+     (!defined SHARED && (!defined NOT_IN_libc \
+                         || defined IS_IN_libpthread)))
 # ifdef __ASSEMBLER__
 #  define PTR_MANGLE(dst, src, guard, tmp)                                \
   LDST_PCREL (ldr, guard, tmp, C_SYMBOL_NAME(__pointer_chk_guard_local)); \
index 54f87c9f7143ac0be3eac6254cba0d6d1d2f60bb..57d5ea081e0a27e2e1efe0dd491b377a5f791fbe 100644 (file)
@@ -519,7 +519,7 @@ asm (".L__X'%ebx = 1\n\t"
 
 
 /* Pointer mangling support.  */
-#if defined NOT_IN_libc && defined IS_IN_rtld
+#ifdef IS_IN_rtld
 /* We cannot use the thread descriptor because in ld.so we use setjmp
    earlier than the descriptor is initialized.  Using a global variable
    is too complicated here since we have no PC-relative addressing mode.  */
index c93fba5d57700cda72c4d576e57bac428b794464..f919a49f51f664e453c76ebf26daa94818e0afc9 100644 (file)
@@ -178,7 +178,7 @@ ENTRY(__sigsetjmp)
        ;;
        st8.nta [r2]=r25                // ar.unat
        st8.nta [r3]=in0                // &__jmp_buf
-#if defined NOT_IN_libc && defined IS_IN_rtld
+#ifdef IS_IN_rtld
        /* In ld.so we never save the signal mask.  */
        ;;
 #else
index 4b732632d69892c6176f10e17b36f49536f3d861..e0ec861dab74034b4c289ce827aa967bfa093e6d 100644 (file)
 #endif /* not __ASSEMBLER__ */
 
 /* Pointer mangling support.  */
-#if defined NOT_IN_libc && defined IS_IN_rtld
+#ifdef IS_IN_rtld
 /* We cannot use the thread descriptor because in ld.so we use setjmp
    earlier than the descriptor is initialized.  */
 #else
index 8feafb808240c949bd8219bb014a4ba1cb58dadd..1a5e37a1d99266e762684a20a88ea6596f5cf227 100644 (file)
 
 
 /* Pointer mangling support.  */
-#if defined NOT_IN_libc && defined IS_IN_rtld
+#ifdef IS_IN_rtld
 /* We cannot use the thread descriptor because in ld.so we use setjmp
    earlier than the descriptor is initialized.  */
 #else
index 9c456101ab0dc6223b907eeb72bc34e02f02a5e4..93e454e9021b003c40761a746507304e0e4eb2c2 100644 (file)
 
 
 /* Pointer mangling support.  */
-#if defined NOT_IN_libc && defined IS_IN_rtld
+#ifdef IS_IN_rtld
 /* We cannot use the thread descriptor because in ld.so we use setjmp
    earlier than the descriptor is initialized.  */
 #else
index 1c6191b261ae3444f244966ba9c34287495c51ad..00919e362ef11002cfb806018411af935a7b95f5 100644 (file)
     _ret; })
 
 /* Pointer mangling support.  */
-#if defined NOT_IN_libc && defined IS_IN_rtld
+#ifdef IS_IN_rtld
 /* We cannot use the thread descriptor because in ld.so we use setjmp
    earlier than the descriptor is initialized.  */
 #else
index 91fc2755852789e486695b84e6da36924f507052..d3bafcae1976616cbffc779dc3725299926c79ff 100644 (file)
     _ret; })
 
 /* Pointer mangling support.  */
-#if defined NOT_IN_libc && defined IS_IN_rtld
+#ifdef IS_IN_rtld
 /* We cannot use the thread descriptor because in ld.so we use setjmp
    earlier than the descriptor is initialized.  */
 #else
index 41b2eea7a2626d0b09f59196bee68eee72b15ffd..3f689383357cdaf9f148621ca5211f65d0222850 100644 (file)
 #endif /* __ASSEMBLER__ */
 
 /* Pointer mangling support.  */
-#if defined NOT_IN_libc && defined IS_IN_rtld
+#ifdef IS_IN_rtld
 /* We cannot use the thread descriptor because in ld.so we use setjmp
    earlier than the descriptor is initialized.  Using a global variable
    is too complicated here since we have no PC-relative addressing mode.  */
index 8b0d0807f4d3b2f2a28bd612621612ea0b405346..09ef2c9ec337ea615ec81311bbbf78144b499f8c 100644 (file)
@@ -125,7 +125,7 @@ ENTRY(name);                                        \
 #endif /* __ASSEMBLER__ */
 
 /* Pointer mangling support.  */
-#if defined NOT_IN_libc && defined IS_IN_rtld
+#ifdef IS_IN_rtld
 /* We cannot use the thread descriptor because in ld.so we use setjmp
    earlier than the descriptor is initialized.  */
 #else
index 53df66e21be19adc2d6c0d2a182151dad20235d3..a0f230540a8f44cc8268ec258bdbae5e7c947a83 100644 (file)
@@ -140,7 +140,7 @@ ENTRY(name);                                        \
 #define STACK_BIAS     2047
 
 /* Pointer mangling support.  */
-#if defined NOT_IN_libc && defined IS_IN_rtld
+#ifdef IS_IN_rtld
 /* We cannot use the thread descriptor because in ld.so we use setjmp
    earlier than the descriptor is initialized.  */
 #else
index f2214f6cff0eb909e9a3db83fcc2ec216ffc2129..a09f8a4adf0571d8e8c6acbaf967d1ef5127dcab 100644 (file)
 #endif /* not __ASSEMBLER__ */
 
 /* Pointer mangling support.  */
-#if defined NOT_IN_libc && defined IS_IN_rtld
+#ifdef IS_IN_rtld
 /* We cannot use the thread descriptor because in ld.so we use setjmp
    earlier than the descriptor is initialized.  */
 #else
index f52690feeb5879cd216923e759af67f8269c4910..4a619dafebd180426bf32ab6b6cb0e5e560b718a 100644 (file)
 
 
 /* Pointer mangling support.  */
-#if defined NOT_IN_libc && defined IS_IN_rtld
+#ifdef IS_IN_rtld
 /* We cannot use the thread descriptor because in ld.so we use setjmp
    earlier than the descriptor is initialized.  */
 # ifdef __ASSEMBLER__
index 78a7e81202ab7cee0f75fd080c1c63985a87b5d9..4459212a8bfc1452e496e8e078a90710690c1e58 100644 (file)
@@ -54,7 +54,7 @@ ENTRY (__sigsetjmp)
 #endif
        movq %rax, (JB_PC*8)(%rdi)
 
-#if defined NOT_IN_libc && defined IS_IN_rtld
+#ifdef IS_IN_rtld
        /* In ld.so we never save the signal mask.  */
        xorl %eax, %eax
        retq
This page took 0.135815 seconds and 5 git commands to generate.