summaryrefslogtreecommitdiff
path: root/patches/binutils/2.20/220-use-relro.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-10-27 19:06:46 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-10-27 19:06:46 (GMT)
commitac17b542fe3737eb3eb84fd30ada615a21e96b55 (patch)
tree47032b4d3a797e9ffd4d779cdb7d6cf02ebd7206 /patches/binutils/2.20/220-use-relro.patch
parent4ae5060ec81b4d4673a4091acd00e16edf16007e (diff)
config/binutils: add latest version 2.20
Also add patchset vampirised from Gentoo.
Diffstat (limited to 'patches/binutils/2.20/220-use-relro.patch')
-rw-r--r--patches/binutils/2.20/220-use-relro.patch6
1 files changed, 6 insertions, 0 deletions
diff --git a/patches/binutils/2.20/220-use-relro.patch b/patches/binutils/2.20/220-use-relro.patch
new file mode 100644
index 0000000..abd5187
--- /dev/null
+++ b/patches/binutils/2.20/220-use-relro.patch
@@ -0,0 +1,6 @@
+--- 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;