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]

[PATCH, nios2] Define elf_backend_default_execstack


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.
diff --git a/bfd/elf32-nios2.c b/bfd/elf32-nios2.c
index 5877d8f..4be71b8 100644
--- a/bfd/elf32-nios2.c
+++ b/bfd/elf32-nios2.c
@@ -5307,5 +5307,6 @@ const struct bfd_elf_special_section elf32_nios2_special_sections[] =
 #define TARGET_BIG_NAME			"elf32-bignios2"
 
 #define elf_backend_got_header_size	12
+#define elf_backend_default_execstack	0
 
 #include "elf32-target.h"

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