crosstool-ng/patches/binutils/2.20/220-use-relro.patch
Yann E. MORIN" ac17b542fe config/binutils: add latest version 2.20
Also add patchset vampirised from Gentoo.
2009-10-27 20:06:46 +01:00

7 lines
194 B
Diff

--- binutils/ld/ldmain.c
+++ binutils/ld/ldmain.c
@@ -293,2 +293,3 @@ main (int argc, char **argv)
link_info.combreloc = TRUE;
+ link_info.relro = TRUE;
link_info.strip_discarded = TRUE;