background: http://www.airs.com/blog/archives/189 --- binutils/ld/ldmain.c +++ binutils/ld/ldmain.c @@ -293,2 +293,3 @@ main (int argc, char **argv) link_info.combreloc = TRUE; + link_info.relro = TRUE; link_info.strip_discarded = TRUE;