[PATCH, nios2] Define elf_backend_default_execstack
Sandra Loosemore
sandra@codesourcery.com
Mon Jan 19 17:44:00 GMT 2015
On 01/19/2015 09:20 AM, Chung-Lin Tang wrote:
> Hi Sandra,
> Following the new conventions for nios2-linux, the stack should by
> default be non-executable. Ok to install this patch for trunk? (and for
> 2.24, 2.25 branches as well)
>
> Thanks,
> Chung-Lin
>
> * bfd/elf32-nios2.c (elf_backend_default_execstack): Define as 0.
Hmmm, I wondered if this should be specific to nios2-linux targets, but
I see that other backends that define this macro don't distinguish
between Linux and bare-metal. So, yes, the patch looks OK to me.
-Sandra
More information about the Binutils
mailing list