diff options
author | Maciej W. Rozycki <macro@imgtec.com> | 2016-12-23 20:03:36 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@imgtec.com> | 2016-12-23 20:03:36 +0000 |
commit | 4d4f40e041ce7c8c7c8e50f957e0440b64ab7e95 (patch) | |
tree | 76d5696f0af19a0126d935c3d85ab3efe6607773 /bfd/elfxx-mips.c | |
parent | 5284e471d53ccb7c7a1d140bd83098607ccf4b8a (diff) | |
download | gdb-4d4f40e041ce7c8c7c8e50f957e0440b64ab7e95.zip gdb-4d4f40e041ce7c8c7c8e50f957e0440b64ab7e95.tar.gz gdb-4d4f40e041ce7c8c7c8e50f957e0440b64ab7e95.tar.bz2 |
MIPS/BFD: Remove EI_ABIVERSION 5 allocation for PT_GNU_STACK support
Revert commit 17733f5be961 ("Increment the ABIVERSION to 5 for MIPS
objects with non-executable stacks.") and remove EI_ABIVERSION 5
allocation for PT_GNU_STACK support, which has not made it to glibc
and will be reassigned.
bfd/
* bfd/elfxx-mips.c (_bfd_mips_post_process_headers): Revert
2016-02-23 change and remove EI_ABIVERSION 5 support.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r-- | bfd/elfxx-mips.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index d649676..486607c 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -16358,9 +16358,6 @@ _bfd_mips_post_process_headers (bfd *abfd, struct bfd_link_info *link_info) 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 |