summaryrefslogtreecommitdiff
path: root/bfd/elfn32-mips.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-12-31 18:25:35 +1030
committerAlan Modra <amodra@gmail.com>2016-12-31 18:30:57 +1030
commitb7aba156196caf59117741eae5e93b578d0b59f4 (patch)
tree3e15226391c89a6a3b4c138aaf430752c0988a05 /bfd/elfn32-mips.c
parent0220170b4d87ce940d40ac98387ff2d7fbed3ab2 (diff)
downloadbinutils-gdb-b7aba156196caf59117741eae5e93b578d0b59f4.tar.gz
Create sdynrelro for elfn32 mips too
* elfn32-mips.c (elf_backend_want_dynrelro): Define.
Diffstat (limited to 'bfd/elfn32-mips.c')
-rw-r--r--bfd/elfn32-mips.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elfn32-mips.c b/bfd/elfn32-mips.c
index c7ca646877e..ef09a148928 100644
--- a/bfd/elfn32-mips.c
+++ b/bfd/elfn32-mips.c
@@ -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. */