patches/binutils/2.20/200-document-new-dtags-behaviour.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jun 28 23:46:04 2011 +0200 (2011-06-28)
changeset 2519 b24ead1a5947
permissions -rw-r--r--
cc/gcc: remove --enable-symver option

That option is coming from the original crosstool, and is not entirely
understand here.

Moreover, it breaks with newer gcc-s: 4.6.1 now breaks while configuring
libjava (and probably some other libs as well, untested).

There is an related bug report to the gcc BZ:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49555

If need be, the old behavior can be restored with:
CC_CORE_EXTRA_CONFIG_ARRAY="--enable-symver=gnu"
CC_EXTRA_CONFIG_ARRAY="--enable-symver=gnu"

Reported-by: Bryan Hundven <bryanhundven@gmail.com>
Reviewed-by: Bryan Hundven <bryanhundven@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 Index: binutils-2.19.51.0.5/ld/ld.texinfo
     2 ===================================================================
     3 --- binutils-2.19.51.0.5.orig/ld/ld.texinfo
     4 +++ binutils-2.19.51.0.5/ld/ld.texinfo
     5 @@ -2036,8 +2036,9 @@ This linker can create the new dynamic t
     6  systems may not understand them. If you specify
     7  @option{--enable-new-dtags}, the dynamic tags will be created as needed.
     8  If you specify @option{--disable-new-dtags}, no new dynamic tags will be
     9 -created. By default, the new dynamic tags are not created. Note that
    10 -those options are only available for ELF systems.
    11 +created. On Gentoo, by default, the new dynamic tags are created (this
    12 +differs from upstream behaviour). Note that those options are only
    13 +available for ELF systems.
    14  
    15  @kindex --hash-size=@var{number}
    16  @item --hash-size=@var{number}