binutils/binutils: remove faulty patch
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Aug 31 23:24:40 2010 +0200 (2010-08-31)
changeset 2107f5ab0a80e466
parent 2106 750676a1d8ea
child 2109 4a45c5758258
binutils/binutils: remove faulty patch

The added code should be conditinal to the target system
being !MIPS, but is based on the host system being !MIPS.

This is plain wrong, and had not been noticed until now
as I never used those binutils versions on MIPS.

See:
http://sourceware.org/ml/crossgcc/2010-08/msg00192.html

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
patches/binutils/2.20.1/210-generate-gnu-hash.patch
patches/binutils/2.20/210-generate-gnu-hash.patch
     1.1 --- a/patches/binutils/2.20.1/210-generate-gnu-hash.patch	Tue Aug 31 18:52:07 2010 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,15 +0,0 @@
     1.4 -
     1.5 -
     1.6 -diff -durN binutils-2.20.1.orig/ld/ldmain.c binutils-2.20.1/ld/ldmain.c
     1.7 ---- binutils-2.20.1.orig/ld/ldmain.c	2010-08-17 19:32:15.000000000 +0200
     1.8 -+++ binutils-2.20.1/ld/ldmain.c	2010-08-17 19:32:17.000000000 +0200
     1.9 -@@ -266,6 +266,9 @@
    1.10 -   link_info.combreloc = TRUE;
    1.11 -   link_info.strip_discarded = TRUE;
    1.12 -   link_info.emit_hash = TRUE;
    1.13 -+#ifndef __mips__
    1.14 -+  link_info.emit_gnu_hash = TRUE;
    1.15 -+#endif
    1.16 -   link_info.callbacks = &link_callbacks;
    1.17 -   link_info.input_bfds_tail = &link_info.input_bfds;
    1.18 -   /* SVR4 linkers seem to set DT_INIT and DT_FINI based on magic _init
     2.1 --- a/patches/binutils/2.20/210-generate-gnu-hash.patch	Tue Aug 31 18:52:07 2010 +0200
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,8 +0,0 @@
     2.4 ---- binutils/ld/ldmain.c
     2.5 -+++ binutils/ld/ldmain.c
     2.6 -@@ -273,2 +273,5 @@ main (int argc, char **argv)
     2.7 -   link_info.emit_hash = TRUE;
     2.8 -+#ifndef __mips__
     2.9 -+  link_info.emit_gnu_hash = TRUE;
    2.10 -+#endif
    2.11 -   link_info.callbacks = &link_callbacks;