patches/binutils/2.20/220-use-relro.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 03 22:32:36 2011 +0200 (2011-07-03)
changeset 2532 288e460c3656
permissions -rw-r--r--
cc/gcc: fix non-MIPS builds

The new MIPS-specific options are not valid for other targets.
Also, move the arch-specific setting lower in the extra_config setting.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 --- binutils/ld/ldmain.c
     2 +++ binutils/ld/ldmain.c
     3 @@ -293,2 +293,3 @@ main (int argc, char **argv)
     4    link_info.combreloc = TRUE;
     5 +  link_info.relro = TRUE;
     6    link_info.strip_discarded = TRUE;