patches/binutils/2.20/220-use-relro.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Jul 30 17:50:34 2010 +0200 (2010-07-30)
changeset 2051 57cda75fd174
permissions -rw-r--r--
Fix CT_SanitizePath

Replace the over-engineered and buggy test in CT_SanitizePath
with a straight forward string pattern match, and also
handle empty PATH elements which are qeuivalent to ".".

Thanks-To: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Johannes Stezenbach <js@sig21.net>
     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;