https://issues.dlang.org/show_bug.cgi?id=17375
--- Comment #2 from Vladimir Panteleev <thecybersha...@gmail.com> --- Bisecting binutils points to: 9acc85a62eb76c270724bba15c889d2d05567b6a is the first bad commit commit 9acc85a62eb76c270724bba15c889d2d05567b6a Author: Alan Modra <amo...@gmail.com> Date: Wed Dec 28 17:04:15 2016 +1030 Use dynrelro for symbols in relro sections too PR ld/20995 bfd/ * elflink.c (elf_link_add_object_symbols): Mark relro sections in dynamic objects SEC_READONLY. ld/ * testsuite/ld-elf/pr20995c.s: New test file. * testsuite/ld-elf/pr20995-2so.r: Likewise. * testsuite/ld-elf/elf.exp: Run it. :040000 040000 decd212336814caf0562835700a42a8f6d3e5e34 8f7d306bf5df00e27fa208f6dc66e345ca5064e8 M bfd :040000 040000 c101f8812c1c65893d81807818e3bfb8acd3ae1e decd54f18574d1b7d39c8888ff551cbde3d3cbe0 M ld --