patches/binutils/2.19/170-use-relro.patch
changeset 2663 7179903f8d2e
parent 2662 e7266674d492
child 2664 346263a07115
     1.1 --- a/patches/binutils/2.19/170-use-relro.patch	Sun Sep 11 18:28:45 2011 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,14 +0,0 @@
     1.4 -Original patch from Gentoo:
     1.5 -gentoo/src/patchsets/binutils/2.19/78_all_use-relro.patch
     1.6 -
     1.7 -diff -durN binutils-2.19.orig/ld/ldmain.c binutils-2.19/ld/ldmain.c
     1.8 ---- binutils-2.19.orig/ld/ldmain.c	2008-11-23 16:59:24.000000000 +0100
     1.9 -+++ binutils-2.19/ld/ldmain.c	2008-11-23 16:59:45.000000000 +0100
    1.10 -@@ -264,6 +264,7 @@
    1.11 -   link_info.keep_memory = TRUE;
    1.12 -   link_info.new_dtags = TRUE;
    1.13 -   link_info.combreloc = TRUE;
    1.14 -+  link_info.relro = TRUE;
    1.15 -   link_info.strip_discarded = TRUE;
    1.16 -   link_info.emit_hash = TRUE;
    1.17 - #ifndef __mips__