patches/binutils/2.20.1a/200-document-new-dtags-behaviour.patch
author "Bryan Hundven" <bryanhundven@gmail.com>
Thu Mar 01 15:23:49 2012 -0800 (2012-03-01)
changeset 2909 28ac8fbd9e6a
parent 2088 4f21ba5f8e91
permissions -rw-r--r--
libg/eglibc: add updated eglibc 2.15

Includes a patch to remove __builtin_expect test:

In eglibc-2.15, the build breaks in configure while testing
for the existance of __builtin_expect. It fails with newer
versions of gcc.

This patch is a modification of an upstream change in glibc
mainline (to be 2.16) to fix the following error:

[CFG ] checking for __builtin_expect... no
[ERROR] configure: error: support for __builtin_expect needed

http://sourceware.org/git/?p=glibc.git;a=commit;h=3857022a761ea7251f8e5c0e45d382ebc3e34cf9

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
[yann.morin.1998@free.fr: coalesce both patches into a single changeset]
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}