patches/binutils/2.20/220-use-relro.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Aug 30 22:51:22 2010 +0200 (2010-08-30)
changeset 2102 62834fa05290
permissions -rw-r--r--
complibs: remove help entries, as they're not used

The help entries for each of the companion libraries are now
wrong, and anyway are not displayed. Nuke, nuke, nuke...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@1614
     1
--- binutils/ld/ldmain.c
yann@1614
     2
+++ binutils/ld/ldmain.c
yann@1614
     3
@@ -293,2 +293,3 @@ main (int argc, char **argv)
yann@1614
     4
   link_info.combreloc = TRUE;
yann@1614
     5
+  link_info.relro = TRUE;
yann@1614
     6
   link_info.strip_discarded = TRUE;