This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libffi/boehm-gc/crt files executable stack (missing .note.GNU-stack on .o files)
- From: Andrew Pinski <pinskia at gmail dot com>
- To: Matthias Klose <doko at cs dot tu-berlin dot de>
- Cc: gcc-patches at gcc dot gnu dot org, Jakub Jelinek <jakub at redhat dot com>
- Date: Wed, 13 Dec 2006 07:59:19 -0800
- Subject: Re: libffi/boehm-gc/crt files executable stack (missing .note.GNU-stack on .o files)
- References: <17792.8739.105507.342126@gargle.gargle.HOWL>
On Wed, 2006-12-13 at 16:54 +0100, Matthias Klose wrote:
>
>
> 2005-05-04 Jakub Jelinek <jakub@redhat.com>
>
> Revert:
> 2005-04-29 Alan Modra <amodra@bigpond.net.au>
> PR target/21098
> * config/rs6000/rs6000.c (rs6000_elf_end_indicate_exec_stack):
> New.
> * config/rs6000/linux64.h (TARGET_ASM_FILE_END): Use the
> above.
I don't see why this part needs to be reverted?
Or for that matter:
* config/rs6000/ppc-asm.h: Add .note.GNU-stack section also
on ppc64-linux.
trampolines on ppc64 uses function descriptors so there is no need for
executable code on the stack ever.
Thanks,
Andrew Pinski