Blame SOURCES/binutils-rh1203449.patch

79e699
--- ld/emultempl/armelf.em~	2015-03-18 17:32:36.436208938 -0400
79e699
+++ ld/emultempl/armelf.em	2015-03-18 17:32:54.455591126 -0400
79e699
@@ -53,6 +53,7 @@
79e699
   input_flags.dynamic = ${DYNAMIC_LINK-TRUE};
79e699
   config.has_shared = `if test -n "$GENERATE_SHLIB_SCRIPT" ; then echo TRUE ; else echo FALSE ; fi`;
79e699
   config.separate_code = `if test "x${SEPARATE_CODE}" = xyes ; then echo TRUE ; else echo FALSE ; fi`;
79e699
+  link_info.relro = TRUE;
79e699
 }
79e699
 
79e699
 static void
79e699
--- ld/emultempl/aarch64elf.em~	2015-03-18 17:32:08.347172011 -0400
79e699
+++ ld/emultempl/aarch64elf.em	2015-03-18 17:32:30.866399906 -0400
79e699
@@ -40,6 +40,7 @@
79e699
   input_flags.dynamic = ${DYNAMIC_LINK-TRUE};
79e699
   config.has_shared = `if test -n "$GENERATE_SHLIB_SCRIPT" ; then echo TRUE ; else echo FALSE ; fi`;
79e699
   config.separate_code = `if test "x${SEPARATE_CODE}" = xyes ; then echo TRUE ; else echo FALSE ; fi`;
79e699
+  link_info.relro = TRUE;
79e699
 }
79e699
 
79e699
 static void