]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Create sdynrelro for elfn32 mips too
authorAlan Modra <amodra@gmail.com>
Sat, 31 Dec 2016 07:55:35 +0000 (18:25 +1030)
committerAlan Modra <amodra@gmail.com>
Sat, 31 Dec 2016 08:02:21 +0000 (18:32 +1030)
* elfn32-mips.c (elf_backend_want_dynrelro): Define.

bfd/ChangeLog
bfd/elfn32-mips.c

index 08dbf6148553909fbff55c49fada7ea6e63ead91..63d1c904c5499fd4a2dd94b329cdabbec0df51f7 100644 (file)
@@ -1,3 +1,7 @@
+2016-12-31  Alan Modra  <amodra@gmail.com>
+
+       * elfn32-mips.c (elf_backend_want_dynrelro): Define.
+
 2016-12-29  Alan Modra  <amodra@gmail.com>
 
        * elflink.c (_bfd_elf_link_hash_copy_indirect): Only omit
index c7ca646877e63a00c30cac14d74e84d9ae9ccfa3..ef09a14892836f583ce1556f1fed2ab4c4a64c39 100644 (file)
@@ -3687,6 +3687,7 @@ static const struct ecoff_debug_swap mips_elf32_ecoff_debug_swap = {
 #define elf_backend_ecoff_debug_swap   &mips_elf32_ecoff_debug_swap
 
 #define elf_backend_got_header_size    (4 * MIPS_RESERVED_GOTNO)
+#define elf_backend_want_dynrelro      1
 
 /* MIPS n32 ELF can use a mixture of REL and RELA, but some Relocations
    work better/work only in RELA, so we default to this.  */