patches/binutils/2.20.1/200-document-new-dtags-behaviour.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Aug 02 18:28:10 2011 +0200 (2011-08-02)
changeset 2590 b64cfb67944e
parent 1614 3f76cdbceb6e
permissions -rw-r--r--
scripts/functions: svn retrieval first tries the mirror for tarballs

The svn download helper looks for the local tarballs dir to see if it
can find a pre-downloaded tarball, and if it does not find it, does
the actual fetch to upstream via svn.

In the process, it does not even try to get a tarball from the local
mirror, which can be useful if the mirror has been pre-populated
manually (or with a previously downloaded tree).

Fake a tarball get with the standard tarball-download helper, but
without specifying any upstream URL, which makes the helper directly
try the LAN mirror.

Of course, if no mirror is specified, no URL wil be available, and
the standard svn retrieval will kick in.

Reported-by: ANDY KENNEDY <ANDY.KENNEDY@adtran.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@1614
     1
Index: binutils-2.19.51.0.5/ld/ld.texinfo
yann@1614
     2
===================================================================
yann@2088
     3
yann@2088
     4
diff -durN binutils-2.20.1.orig/ld/ld.texinfo binutils-2.20.1/ld/ld.texinfo
yann@2088
     5
--- binutils-2.20.1.orig/ld/ld.texinfo	2009-07-06 15:48:51.000000000 +0200
yann@2088
     6
+++ binutils-2.20.1/ld/ld.texinfo	2010-08-17 19:32:16.000000000 +0200
yann@2088
     7
@@ -2026,8 +2026,9 @@
yann@1614
     8
 systems may not understand them. If you specify
yann@1614
     9
 @option{--enable-new-dtags}, the dynamic tags will be created as needed.
yann@1614
    10
 If you specify @option{--disable-new-dtags}, no new dynamic tags will be
yann@1614
    11
-created. By default, the new dynamic tags are not created. Note that
yann@1614
    12
-those options are only available for ELF systems.
yann@1614
    13
+created. On Gentoo, by default, the new dynamic tags are created (this
yann@1614
    14
+differs from upstream behaviour). Note that those options are only
yann@1614
    15
+available for ELF systems.
yann@1614
    16
 
yann@1614
    17
 @kindex --hash-size=@var{number}
yann@1614
    18
 @item --hash-size=@var{number}