[PATCH,HURD] Fix value of __libc_stack_end
Samuel Thibault
samuel.thibault@gnu.org
Mon Sep 5 00:22:00 GMT 2011
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
More information about the Libc-alpha
mailing list