patches/binutils/2.20/220-use-relro.patch
author "Frederic Roussel" <fr.frasc@gmail.com>
Wed Nov 11 14:44:53 2009 -0800 (2009-11-11)
changeset 1621 60446d2e5660
permissions -rw-r--r--
patches/binutils/2.20: make patches appliable

Fix filenames in patch files for binutils-2.20.
Some patch files were only usable with patch argument '-p0'.
Fix the diff context to match 2.20 release.

Signed-off-by: Frederic Roussel <fr.frasc@gmail.com>
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;