This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH,HURD] Fix value of __libc_stack_end
- From: Samuel Thibault <samuel dot thibault at gnu dot org>
- To: Aurelien Jarno <aurelien at aurel32 dot net>
- Cc: libc-alpha at sourceware dot org, roland at gnu dot org, bug-hurd at gnu dot org
- Date: Sun, 4 Sep 2011 22:09:40 +0200
- Subject: Re: [PATCH,HURD] Fix value of __libc_stack_end
- References: <20110805142457.GK9394@type.famille.thibault.fr><20110824222244.GM4746@type><20110904153232.GA8439@hall.aurel32.net>
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