patches/binutils/2.20/210-generate-gnu-hash.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 @@ -273,2 +273,5 @@ main (int argc, char **argv)
     4    link_info.emit_hash = TRUE;
     5 +#ifndef __mips__
     6 +  link_info.emit_gnu_hash = TRUE;
     7 +#endif
     8    link_info.callbacks = &link_callbacks;