[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r6707 - glibc-package/branches/glibc-2.21/debian/patches/hurd-i386



Author: sthibault
Date: 2015-11-25 16:47:59 +0000 (Wed, 25 Nov 2015)
New Revision: 6707

Modified:
   glibc-package/branches/glibc-2.21/debian/patches/hurd-i386/cvs-hidden.diff
Log:
__libc_stack_end actually needs to be initialized to avoid ending up in common, for hidden support

Modified: glibc-package/branches/glibc-2.21/debian/patches/hurd-i386/cvs-hidden.diff
===================================================================
--- glibc-package/branches/glibc-2.21/debian/patches/hurd-i386/cvs-hidden.diff	2015-11-25 16:08:14 UTC (rev 6706)
+++ glibc-package/branches/glibc-2.21/debian/patches/hurd-i386/cvs-hidden.diff	2015-11-25 16:47:59 UTC (rev 6707)
@@ -22,9 +22,11 @@
 --- a/sysdeps/mach/hurd/dl-sysdep.c
 +++ b/sysdeps/mach/hurd/dl-sysdep.c
 @@ -55,6 +55,7 @@ rtld_hidden_data_def (__libc_enable_secure)
+ int __libc_multiple_libcs = 0;	/* Defining this here avoids the inclusion
  				   of init-first.  */
  /* This variable contains the lowest stack address ever used.  */
- void *__libc_stack_end;
+-void *__libc_stack_end;
++void *__libc_stack_end = NULL;
 +rtld_hidden_data_def(__libc_stack_end)
  
  #if HP_TIMING_AVAIL


Reply to: