From f11fcc3f40415ca8849707f945765ff86290c6b1 Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Sat, 3 Sep 2016 07:42:15 +0000 Subject: Mark the PLT as RWX so that ld.so's generic RWX->RW->RX logic can be used and the m88k-specific logic can be retired ok and testing aoyama@ --- gnu/usr.bin/binutils-2.17/bfd/elf32-m88k.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/usr.bin/binutils-2.17/bfd/elf32-m88k.c b/gnu/usr.bin/binutils-2.17/bfd/elf32-m88k.c index 174f2cecdf6..d411f267e32 100644 --- a/gnu/usr.bin/binutils-2.17/bfd/elf32-m88k.c +++ b/gnu/usr.bin/binutils-2.17/bfd/elf32-m88k.c @@ -2122,7 +2122,7 @@ elf_m88k_plt_sym_val (bfd_vma i, const asection *plt, #define elf_backend_can_gc_sections 1 #define elf_backend_can_refcount 1 #define elf_backend_want_got_plt 1 -#define elf_backend_plt_readonly 1 +#define elf_backend_plt_readonly 0 #define elf_backend_want_plt_sym 0 #define elf_backend_got_header_size 12 #define elf_backend_rela_normal 1 -- cgit v1.2.3