patches/binutils/2.20/220-use-relro.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Sep 11 17:55:54 2010 +0200 (2010-09-11)
changeset 2117 24aacb93191d
permissions -rw-r--r--
scripts/internal: cleanup build symlinks

The symlinks are needed only during the build process.
The final gcc will still search those dirs, but will also search
the standard lib/ dirs, so we can get rid of the symlinks.

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;