[PATCH] Set __libc_stack_end earlier on all arches,...

Steve Munroe sjmunroe@us.ibm.com
Wed Sep 24 22:49:00 GMT 2003


David Mosberger writes:

> > On Wed, 24 Sep 2003 21:36:22 +0200, Jakub Jelinek <jakub@redhat.com> 
said:
>
>  Jakub> The only special arches here are ia64 and ppc64, as there
>  Jakub> trampolines don't actually need executable stack. Because of
>  Jakub> this I chose not to add .note.GNU-stack/PT_GNU_STACK marking
>  Jakub> for these two arches.  Unfortunately, on both these arches
>  Jakub> kernel defaults to executable stack as I found out today and
>  Jakub> thus there can be programs which rely on this and so for
>  Jakub> binary compatibility need to be assumed as needing executable
>  Jakub> stack too.
>
>Why do you say this?

Also for PPC64 :

000001ff7fffd000-000001ff80000000 rw-p ffffffffffffe000 00:00 0



More information about the Libc-hacker mailing list