This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, nios2] Define elf_backend_default_execstack


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]