patches/binutils/2.20.1a/200-document-new-dtags-behaviour.patch
author David Holsgrove <david.holsgrove@xilinx.com>
Wed Oct 03 15:59:22 2012 +1000 (2012-10-03)
changeset 3071 5243d1b432b1
parent 2088 4f21ba5f8e91
permissions -rw-r--r--
scripts/gdb: If not building expat for gdb, disable

--with-expat=yes is unconditionally passed to the gdb configure
stage, instead of respecting the ${do_expat} decision.

Disable if not needed. Prevents error building canadian cross;

configure: error: expat is missing or unusable

Where configure stage fails to find expat on the host compiler.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Message-Id: <4c4410a2a8aab24a29c5.1349244128@localhost.localdomain>
PatchWork-Id: 188711
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}