Read-only data in ELF libraries may be remapped writable at runtime (upcoming NDSS'17 paper)
Commit Message
On Fri, Dec 30, 2016 at 03:11:01PM +0000, Joseph Myers wrote:
> One of these changes appears to have broken building glibc for MIPS64 (n32
> ABI; others untested) with binutils master (not tested 2.28). Building
Thanks for the notification. A silly omission on my part.
* elfn32-mips.c (elf_backend_want_dynrelro): Define.
@@ -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. */