patches/binutils/2.20/190-use-new-ld-dtags.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
     1 --- binutils/ld/ldmain.c
     2 +++ binutils/ld/ldmain.c
     3 @@ -296,6 +296,7 @@ main (int argc, char **argv)
     4  
     5    link_info.allow_undefined_version = TRUE;
     6    link_info.keep_memory = TRUE;
     7 +  link_info.new_dtags = TRUE;
     8    link_info.combreloc = TRUE;
     9    link_info.strip_discarded = TRUE;
    10    link_info.callbacks = &link_callbacks;