patches/binutils/2.20/210-generate-gnu-hash.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Dec 14 19:17:37 2009 +0100 (2009-12-14)
changeset 1662 ea3490d46f4e
permissions -rw-r--r--
scripts: correctly warn when the local tarballs directory does not exist

Warn about a missing local tarball directory, only if it was configured.
Avoid the spurious message:
Directory '${CT_LOCAL_TARBALLS_DIR}' does not exist.
Will not save downloaded tarballs to local storage.

Thanks to "Pedro I. Sanchez" <psanchez@colcan.ca> for pointing out the
issue:
http://sourceware.org/ml/crossgcc/2009-12/msg00011.html
yann@1614
     1
--- binutils/ld/ldmain.c
yann@1614
     2
+++ binutils/ld/ldmain.c
yann@1614
     3
@@ -273,2 +273,5 @@ main (int argc, char **argv)
yann@1614
     4
   link_info.emit_hash = TRUE;
yann@1614
     5
+#ifndef __mips__
yann@1614
     6
+  link_info.emit_gnu_hash = TRUE;
yann@1614
     7
+#endif
yann@1614
     8
   link_info.callbacks = &link_callbacks;