* bfd/elfxx-mips.c (_bfd_mips_post_process_headers): Increment
ABIVERSION for non-executable stack.
+2016-02-23 Faraz Shahbazker <faraz.shahbazker@imgtec.com>
+
+ * bfd/elfxx-mips.c (_bfd_mips_post_process_headers): Increment
+ ABIVERSION for non-executable stack.
+
2016-02-23 Rich Felker <bugdal@aerifal.cx>
PR target/19516
if (mips_elf_tdata (abfd)->abiflags.fp_abi == Val_GNU_MIPS_ABI_FP_64
|| mips_elf_tdata (abfd)->abiflags.fp_abi == Val_GNU_MIPS_ABI_FP_64A)
i_ehdrp->e_ident[EI_ABIVERSION] = 3;
+
+ if (elf_stack_flags (abfd) && !(elf_stack_flags (abfd) & PF_X))
+ i_ehdrp->e_ident[EI_ABIVERSION] = 5;
}
int