This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH,HURD] Fix value of __libc_stack_end


Aurelien Jarno, le Sun 04 Sep 2011 17:32:32 +0200, a écrit :
> On Thu, Aug 25, 2011 at 12:22:44AM +0200, Samuel Thibault wrote:
> > diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
> > index a63151f..a5df5c1 100644
> > --- a/sysdeps/mach/hurd/dl-sysdep.c
> > +++ b/sysdeps/mach/hurd/dl-sysdep.c
> > @@ -55,7 +55,7 @@ INTVARDEF(__libc_enable_secure)
> >  int __libc_multiple_libcs = 0;	/* Defining this here avoids the inclusion
> >  				   of init-first.  */
> >  /* This variable containts the lowest stack address ever used.  */
> > -void *__libc_stack_end attribute_relro = NULL;
> > +void *__libc_stack_end = NULL;
> >  rtld_hidden_data_def(__libc_stack_end)
> >  void *_dl_random attribute_relro = NULL; /* TODO */
> >  
> 
> This last hunk doesn't apply.

Oops, the hunk was due to some garbage in my tree, sorry about that.

> The current git code has:

> | /* This variable containts the lowest stack address ever used.  */
> | void *__libc_stack_end;

Which can stay as it is, and thus the hunk simply dropped.

Samuel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]