Re: [PATCH/MIPS] Emit stack executable note

2012-07-26 Thread Joseph S. Myers
On Wed, 25 Jul 2012, Andrew Pinski wrote: > * config/mips/linux-common.h (TARGET_ASM_FILE_END): Define. Do you also need to change libgcc/config/mips/*.S to include the appropriate note? -- Joseph S. Myers jos...@codesourcery.com

Re: [PATCH/MIPS] Emit stack executable note

2012-07-26 Thread Hans-Peter Nilsson
On Wed, 25 Jul 2012, Andrew Pinski wrote: > Hi, > The Linux kernel already supports non-executable stack since around > February 2010. This patch has GCC emit the notes that are associated > with non-executable stack. What does the kernel do when the note isn't present? > OK? Bootstrapped and

[PATCH/MIPS] Emit stack executable note

2012-07-25 Thread Andrew Pinski
Hi, The Linux kernel already supports non-executable stack since around February 2010. This patch has GCC emit the notes that are associated with non-executable stack. OK? Bootstrapped and tested on mips64-linux-gnu with kernel already supporting the non-executable stack with no regressions.