patches/binutils/2.20.1a/200-document-new-dtags-behaviour.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Thu Dec 27 12:45:22 2012 +0100 (2012-12-27)
changeset 3152 b286c7993be5
parent 2088 4f21ba5f8e91
permissions -rw-r--r--
scripts/addToolsVersion: properly handle .in vs. .in.2

While most components have their version in the .in file, some
have it in the .in.2 (eg. elf2flt).

Currently, to handle this case, we indiscriminately munge both files,
but this is wrong: in the elf2flt case, if we add a binutils version,
we do not want it to be added to elf2flt, and conversely.

So, for each tool, we need to explicitly know what file to munge.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.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}