patches/binutils/2.20/220-use-relro.patch
author Esben Haabendal <eha@doredevelopment.dk>
Sat Aug 14 23:21:06 2010 +0200 (2010-08-14)
changeset 2085 198c99380191
permissions -rw-r--r--
libc/mingw: use pre-set headers dir

There is a variable that contains the headers directory,
so there's no need to re-compute it again.

[Yann E. MORIN: split the original patch]
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;