View | Details | Raw Unified
Collapse All | Expand All

(-) /usr/portage/sys-libs/glibc/files/2.6/glibc-2.6-hardened-inittls-nosysenter.patch (-3 / +3 lines)
 Lines 50-56   Patch by Kevin F. Quinn <kevquinn@gentoo Link Here 
 # ifdef DL_SYSDEP_OSCHECK
 # ifdef DL_SYSDEP_OSCHECK
   if (!__libc_multiple_libcs)
   if (!__libc_multiple_libcs)
     {
     {
@@ -138,10 +144,12 @@
@@ -134,10 +140,12 @@
     }
     }
 # endif
 # endif
 
 
 Lines 60-68   Patch by Kevin F. Quinn <kevquinn@gentoo Link Here 
      we need to setup errno.  */
      we need to setup errno.  */
   __pthread_initialize_minimal ();
   __pthread_initialize_minimal ();
+# endif
+# endif
 #endif
 
 
 # ifndef SHARED
   /* Set up the stack checker's canary.  */
   uintptr_t stack_chk_guard = _dl_setup_stack_chk_guard ();
--- csu/libc-tls.c
--- csu/libc-tls.c
+++ csu/libc-tls.c
+++ csu/libc-tls.c
@@ -23,6 +23,7 @@
@@ -23,6 +23,7 @@